1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00

r5665: the data within el2->values can still be used at this point, so don't free

This commit is contained in:
Andrew Tridgell
2005-03-05 21:59:48 +00:00
committed by Gerald (Jerry) Carter
parent 19a22f78c2
commit 12d03f9663

View File

@@ -445,7 +445,6 @@ struct ldb_message *ldb_msg_canonicalize(struct ldb_context *ldb,
sizeof(struct ldb_val) * el2->num_values);
el1->num_values += el2->num_values;
talloc_free(el2->name);
talloc_free(el2->values);
if (i+1<msg2->num_elements) {
memmove(el2, el2+1, sizeof(struct ldb_message_element) *
(msg2->num_elements - (i+1)));