lib: ldb: Python. Take care of freeing the passed in module description if ldb_regist...
authorJeremy Allison <jra@samba.org>
Mon, 24 Jul 2017 19:12:17 +0000 (12:12 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 26 Jul 2017 19:35:22 +0000 (21:35 +0200)
commit99e4bea89e82327e6de3adf7e8411eb9a89f54db
tree31e8026160b09153d2f6e520b6911240abc80f28
parent41b1f8a20c7db6b79706a4aebcc7074149a6ab62
lib: ldb: Python. Take care of freeing the passed in module description if ldb_register_module() fails.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12932

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/pyldb.c