summaryrefslogtreecommitdiffstats
path: root/crypto/dso/dso_vms.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dso/dso_vms.c')
-rw-r--r--crypto/dso/dso_vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dso/dso_vms.c b/crypto/dso/dso_vms.c
index 821e238bd4..07ec1cd30b 100644
--- a/crypto/dso/dso_vms.c
+++ b/crypto/dso/dso_vms.c
@@ -230,7 +230,7 @@ static int vms_load(DSO *dso)
goto err;
}
- p = DSO_MALLOC(sizeof(DSO_VMS_INTERNAL));
+ p = DSO_MALLOC(sizeof(*p));
if (p == NULL) {
DSOerr(DSO_F_VMS_LOAD, ERR_R_MALLOC_FAILURE);
goto err;