s4-dsdb: fixed valgrind error in replmd modify
commitdb3f0e8ec1bfc6d3f27195ee38f53489501e731e
authorAndrew Tridgell <tridge@samba.org>
Tue, 22 Dec 2009 01:21:02 +0000 (22 12:21 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 1 Jan 2010 21:16:54 +0000 (2 08:16 +1100)
tree2991f4edfc0c8be8bd778c2db0c5bc8704311b4f
parent9f053d43ded23bb72d4c10162a8c6a211831b068
s4-dsdb: fixed valgrind error in replmd modify

We are using the values from a search result, so we need to steal them
onto the msg before we free the search results

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c