summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-25 02:25:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:19 -0500
commit98875066fbb828803698f34ed33c52c0fa374732 (patch)
tree1726e0e6b3d6afe4c7957c1364c5605ab58b425b
parentfa5a99b7a6e4f9bffa82eed1393e8e5e1f6404dc (diff)
downloadsamba-98875066fbb828803698f34ed33c52c0fa374732.tar.gz
samba-98875066fbb828803698f34ed33c52c0fa374732.tar.bz2
samba-98875066fbb828803698f34ed33c52c0fa374732.zip
r2042: missed a couple of places that should be talloc_free()
(This used to be commit e1575a72a10252fdb88778f14bf3c44a65d72c5e)
-rw-r--r--source4/libcli/auth/spnego_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/auth/spnego_parse.c b/source4/libcli/auth/spnego_parse.c
index 41c9ece5fd..047d17ce5a 100644
--- a/source4/libcli/auth/spnego_parse.c
+++ b/source4/libcli/auth/spnego_parse.c
@@ -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);