diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2007-11-08 14:33:41 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2007-11-08 14:33:41 +0000 |
commit | 87c2a9b77aaedfc55bae21ee244ac9a42fcde6d0 (patch) | |
tree | f985f78057dfd3c6da29c467047e70bcf2cfec95 /dso | |
parent | 6030c214f7aa347259962fc46ce389bd7963fe57 (diff) | |
download | libapr-87c2a9b77aaedfc55bae21ee244ac9a42fcde6d0.tar.gz |
rev 593166 from trunk:
Fix DSO-related crash on z/OS caused by incorrect memory
allocation.
Submitted by: David Jones <oscaremma gmail.com>
Reviewed by: trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@593169 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r-- | dso/os390/dso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dso/os390/dso.c b/dso/os390/dso.c index 293d0653e..034ffe843 100644 --- a/dso/os390/dso.c +++ b/dso/os390/dso.c @@ -63,7 +63,7 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle, dllhandle *handle; int rc; - *res_handle = apr_pcalloc(ctx, sizeof(*res_handle)); + *res_handle = apr_pcalloc(ctx, sizeof(**res_handle)); (*res_handle)->pool = ctx; if ((handle = dllload(path)) != NULL) { (*res_handle)->handle = handle; |