typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3147 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -54,7 +54,7 @@ OM_uint32 gss_acquire_cred
|
|||||||
gss_cred_id_t handle;
|
gss_cred_id_t handle;
|
||||||
OM_uint32 ret;
|
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) {
|
if (handle == GSS_C_NO_CREDENTIAL) {
|
||||||
return GSS_S_FAILURE;
|
return GSS_S_FAILURE;
|
||||||
}
|
}
|
||||||
|
@@ -54,7 +54,7 @@ OM_uint32 gss_acquire_cred
|
|||||||
gss_cred_id_t handle;
|
gss_cred_id_t handle;
|
||||||
OM_uint32 ret;
|
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) {
|
if (handle == GSS_C_NO_CREDENTIAL) {
|
||||||
return GSS_S_FAILURE;
|
return GSS_S_FAILURE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user