s3:pdb_set_pw_history: free the old history before setting the new.
commit2fad148b271fe8623299af551d3ae103d85c5d5f
authorMichael Adam <obnox@samba.org>
Tue, 5 Jan 2010 16:24:17 +0000 (5 17:24 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 7 Jan 2010 10:07:51 +0000 (7 11:07 +0100)
tree91928df9e6f0d2b0a528c03cee63e4bb3e76cd50
parent71e3de6c9fa50ce0035092da6b1a27017ee1bb56
s3:pdb_set_pw_history: free the old history before setting the new.

This is not strictly necessary, since this only leaks into the
struct samu, and this is not so long-lived in the code path that
changes the password, but it definitely correct and does not harm.

Michael
source3/passdb/pdb_get_set.c