summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-08 08:41:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:07 -0500
commit3cc8b8125a50721b5aeab43c8a30e3cba8d8ceef (patch)
tree9e32f865cd7e900a5cfdf900da1da10d7eb647dd
parent991fd6c28ee27bd7d69bdec23a4c5f2c2122cd7d (diff)
downloadsamba-3cc8b8125a50721b5aeab43c8a30e3cba8d8ceef.tar.gz
samba-3cc8b8125a50721b5aeab43c8a30e3cba8d8ceef.tar.bz2
samba-3cc8b8125a50721b5aeab43c8a30e3cba8d8ceef.zip
r14035: Fix Coverity bug # 124
(This used to be commit 9fe21fd0326e67a4b1006d2b4a24e39e2d57d796)
-rw-r--r--source3/utils/net_rpc_samsync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index 7ec6af0a44..c6cbc76858 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -396,6 +396,7 @@ static NTSTATUS sam_account_from_delta(struct samu *account, SAM_ACCOUNT_INFO *d
if (STRING_CHANGED)
pdb_set_munged_dial(account, new_string, PDB_CHANGED);
+ SAFE_FREE(new_string);
}
/* User and group sid */