summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/printing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 79cab3d9fa..add690fb8b 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -889,6 +889,7 @@ static void store_queue_struct(struct tdb_print_db *pdb, struct traverse_struct
key.dptr = "INFO/linear_queue_array";
key.dsize = strlen(key.dptr);
tdb_store(pdb->tdb, key, data, TDB_REPLACE);
+ SAFE_FREE(data.dptr);
return;
}