diff options
-rw-r--r-- | source3/passdb/passdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index d4e788ff68..cbb30ead02 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -1329,6 +1329,7 @@ BOOL pdb_copy_sam_account(struct samu *dst, struct samu *src ) len = init_buffer_from_sam_v3(&buf, src, False); if (len == -1 || !buf) { + SAFE_FREE(buf); return False; } |