pyldb: add a macro to free when raising exceptions
commitcccc994fa076f3f784bce7258a95d756d44cd190
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 21 Feb 2024 22:19:30 +0000 (22 11:19 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 29 Feb 2024 04:01:40 +0000 (29 04:01 +0000)
treec69b7f5fe0b42ae23c00cef50d304825db140875
parent8cf9d4cae1e73077c463648a7fcc9cbf329c03ec
pyldb: add a macro to free when raising exceptions

We often forget.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/pyldb.h