summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-07-18 05:00:31 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-07-18 05:00:31 +0930
commit7a6591037b22773c03a7592230f33832b0775237 (patch)
tree0baa1883f59b492f8833a1b4f5a159ac404e270e /source3
parentdcec7c1f71937ad301be95050fb0e69aede7648c (diff)
downloadsamba-7a6591037b22773c03a7592230f33832b0775237.tar.gz
samba-7a6591037b22773c03a7592230f33832b0775237.tar.bz2
samba-7a6591037b22773c03a7592230f33832b0775237.zip
nt_printing_tdb_migrate(): fix stackframe leak.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/nt_printing_migrate_internal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/nt_printing_migrate_internal.c b/source3/printing/nt_printing_migrate_internal.c
index 296d5a631d..7142a5cb24 100644
--- a/source3/printing/nt_printing_migrate_internal.c
+++ b/source3/printing/nt_printing_migrate_internal.c
@@ -196,6 +196,7 @@ bool nt_printing_tdb_migrate(struct messaging_context *msg_ctx)
NTSTATUS status;
if (!drivers_exists && !printers_exists && !forms_exists) {
+ talloc_free(tmp_ctx);
return true;
}