From af03a9b8fbe32d9c7a2bcd1d4cb377b44894d666 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 3 Mar 2006 02:29:48 +0000 Subject: r13803: fixed two errors found with 'make valgrindtest' (This used to be commit 4257fd91ceca34dd868a9168efc28b6cb63f0357) --- source4/lib/ldb/common/ldb_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/common/ldb_msg.c b/source4/lib/ldb/common/ldb_msg.c index 8c59518296..f76d7e8dd9 100644 --- a/source4/lib/ldb/common/ldb_msg.c +++ b/source4/lib/ldb/common/ldb_msg.c @@ -263,7 +263,7 @@ int ldb_msg_add_fmt(struct ldb_message *msg, val.data = (uint8_t *)str; val.length = strlen(str); - return ldb_msg_add_value(msg, attr_name, &val); + return ldb_msg_add_steal_value(msg, attr_name, &val); } /* -- cgit