git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3147 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-08-25 20:58:43 +00:00
parent a805d9f4c7
commit 0a7e50682f
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ OM_uint32 gss_acquire_cred
gss_cred_id_t handle;
OM_uint32 ret;
handle = (gss_cred_id_t)malloc(sizeof(handle));
handle = (gss_cred_id_t)malloc(sizeof(*handle));
if (handle == GSS_C_NO_CREDENTIAL) {
return GSS_S_FAILURE;
}

View File

@@ -54,7 +54,7 @@ OM_uint32 gss_acquire_cred
gss_cred_id_t handle;
OM_uint32 ret;
handle = (gss_cred_id_t)malloc(sizeof(handle));
handle = (gss_cred_id_t)malloc(sizeof(*handle));
if (handle == GSS_C_NO_CREDENTIAL) {
return GSS_S_FAILURE;
}