summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-02-16 19:10:05 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-02-16 19:10:05 +0000
commit73f75fa984c9c0e3bed82d7f965edb2629bde396 (patch)
treee35bcee0625cfd57092bbe2377fd134154e47afe /locks
parentdb35888c69555fe32d94a8bf60b722913470e542 (diff)
downloadlibapr-73f75fa984c9c0e3bed82d7f965edb2629bde396.tar.gz
We don't look for palloc to fail
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62994 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/win32/locks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/locks/win32/locks.c b/locks/win32/locks.c
index 62abb6962..b5a519605 100644
--- a/locks/win32/locks.c
+++ b/locks/win32/locks.c
@@ -165,9 +165,6 @@ APR_DECLARE(apr_status_t) apr_lock_child_init(apr_lock_t **lock,
*/
(*lock) = (apr_lock_t *)apr_palloc(pool, sizeof(apr_lock_t));
- if ((*lock) == NULL) {
- return APR_ENOMEM;
- }
if (fname) {
if (apr_os_level >= APR_WIN_2000) {
(*lock)->fname = apr_pstrcat(pool, "Global\\", fname, NULL);