summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/printing/printing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c
index 79cab3d9fae..add690fb8be 100644
--- a/source/printing/printing.c
+++ b/source/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;
}