summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-10-02 11:03:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:04 -0500
commita3a082b24836e50755e2086eeb35a4fee8dac17c (patch)
treedee2823763600b287f37926457e4493c2107a4aa
parent7e310277ff5cb8fcef17e28422db2a99cf3841d3 (diff)
downloadsamba-a3a082b24836e50755e2086eeb35a4fee8dac17c.tar.gz
samba-a3a082b24836e50755e2086eeb35a4fee8dac17c.tar.bz2
samba-a3a082b24836e50755e2086eeb35a4fee8dac17c.zip
r19037: Fix a segfault
(This used to be commit 1c18ebe67500a59d4bf08c7e2e2c2af416bfa084)
-rw-r--r--source3/libsmb/clispnego.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c
index 3dad37d9e1..fedf7e5c6e 100644
--- a/source3/libsmb/clispnego.c
+++ b/source3/libsmb/clispnego.c
@@ -165,7 +165,7 @@ BOOL spnego_parse_negTokenInit(DATA_BLOB blob,
ret = !data.has_error;
if (data.has_error) {
int j;
- SAFE_FREE(principal);
+ SAFE_FREE(*principal);
for(j = 0; j < i && j < ASN1_MAX_OIDS-1; j++) {
SAFE_FREE(OIDs[j]);
}