diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2009-12-05 22:49:59 +0200 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-12-05 16:57:40 -0500 |
commit | 9b265a68ccf74a03bff946bc10f96a38045c923a (patch) | |
tree | 6ca2da59cb2ee6c1adc607b5b61115c205502927 /source4/lib | |
parent | 21d3aa814577690dac0e301bc2863c0f464f0e2e (diff) | |
download | samba-9b265a68ccf74a03bff946bc10f96a38045c923a.tar.gz samba-9b265a68ccf74a03bff946bc10f96a38045c923a.tar.bz2 samba-9b265a68ccf74a03bff946bc10f96a38045c923a.zip |
s4-ldif: Fix memory leek in ldb_ldif_write()
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/common/ldb_ldif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb_ldif.c b/source4/lib/ldb/common/ldb_ldif.c index b7ab7300b2..888761e67b 100644 --- a/source4/lib/ldb/common/ldb_ldif.c +++ b/source4/lib/ldb/common/ldb_ldif.c @@ -373,6 +373,8 @@ int ldb_ldif_write(struct ldb_context *ldb, ret = fprintf_fn(private_data,"\n"); CHECK_RET; + talloc_free(mem_ctx); + return total; } |