summaryrefslogtreecommitdiff
path: root/dso
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-08-02 03:15:56 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-08-02 03:15:56 +0000
commitd6cef27affbdf90a7c42426114e8c97a9acdba86 (patch)
treebe020b21e2fc03c7a5627f31a42f9027e656cd9b /dso
parent1b53efb4f536561f5962f2a5ffc59f50e4d531bf (diff)
downloadapr-d6cef27affbdf90a7c42426114e8c97a9acdba86.tar.gz
Warning Will Robinson, someone's about to trounce you
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62079 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r--dso/win32/dso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dso/win32/dso.c b/dso/win32/dso.c
index 15ffed1a4..cdff9c299 100644
--- a/dso/win32/dso.c
+++ b/dso/win32/dso.c
@@ -115,7 +115,7 @@ APR_DECLARE(apr_status_t) apr_dso_load(struct apr_dso_handle_t **res_handle,
os_handle = LoadLibraryEx(path, NULL, 0);
SetErrorMode(em);
}
- *res_handle = apr_pcalloc(ctx, sizeof(*res_handle));
+ *res_handle = apr_pcalloc(ctx, sizeof(**res_handle));
if(os_handle == NULL) {
(*res_handle)->load_error = apr_get_os_error();