summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}