mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r2042: missed a couple of places that should be talloc_free()
(This used to be commit e1575a72a1
)
This commit is contained in:
parent
fa5a99b7a6
commit
98875066fb
@ -353,11 +353,11 @@ BOOL spnego_free_data(struct spnego_data *spnego)
|
||||
}
|
||||
data_blob_free(&spnego->negTokenInit.mechToken);
|
||||
data_blob_free(&spnego->negTokenInit.mechListMIC);
|
||||
SAFE_FREE(spnego->negTokenInit.targetPrincipal);
|
||||
talloc_free(spnego->negTokenInit.targetPrincipal);
|
||||
break;
|
||||
case SPNEGO_NEG_TOKEN_TARG:
|
||||
if (spnego->negTokenTarg.supportedMech) {
|
||||
free(spnego->negTokenTarg.supportedMech);
|
||||
talloc_free(spnego->negTokenTarg.supportedMech);
|
||||
}
|
||||
data_blob_free(&spnego->negTokenTarg.responseToken);
|
||||
data_blob_free(&spnego->negTokenTarg.mechListMIC);
|
||||
|
Loading…
Reference in New Issue
Block a user