s4:pyldb Fix memory handling for ldb_message_element
authorAndrew Bartlett <abartlet@samba.org>
Thu, 15 Jul 2010 04:00:48 +0000 (14:00 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 15 Jul 2010 12:08:22 +0000 (22:08 +1000)
commitfcdf619b361b9c30b59f65ba38f69f344b4c95ae
tree41b1099c43cc50f290e1367cd6e5338b591b90d0
parent5d61b477c66dce60d8ea37081f0c7394c77e1867
s4:pyldb Fix memory handling for ldb_message_element

The problem here is that we need to use the array, not the individual
message element as the memory context.

Andrew Bartlett
source4/lib/ldb/pyldb.c