s3:passdb Fix memory leak
authorSimo Sorce <ssorce@redhat.com>
Sat, 29 May 2010 13:48:20 +0000 (09:48 -0400)
committerSimo Sorce <ssorce@redhat.com>
Sat, 29 May 2010 14:54:08 +0000 (10:54 -0400)
commitd85d85b851f498330badc3eb47a7f10a6981376b
tree4ae041e3d178b318bde245d7142c587d5710896a
parentb455c5e155f7e7ba4cc07cd4415a304163213e0f
s3:passdb Fix memory leak

We were allocating this passwd structure on sampass, but never freeing
it nor assigning it to unix_pw where it could be reused.
source3/passdb/pdb_get_set.c