summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/common/ldb_debug.c')
-rw-r--r--source4/lib/ldb/common/ldb_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb_debug.c b/source4/lib/ldb/common/ldb_debug.c
index c4718c7f52..2548a5495a 100644
--- a/source4/lib/ldb/common/ldb_debug.c
+++ b/source4/lib/ldb/common/ldb_debug.c
@@ -100,5 +100,6 @@ void ldb_debug_set(struct ldb_context *ldb, enum ldb_debug_level level,
ldb_set_errstring(ldb, msg);
ldb_debug(ldb, level, "%s", msg);
}
+ talloc_free(msg);
}