1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

pyldb: free some finished requests

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Douglas Bagnall 2024-02-28 16:27:59 +13:00 committed by Andrew Bartlett
parent a4c4e3c95f
commit c68b390e66

View File

@ -3172,6 +3172,7 @@ static PyObject *py_ldb_module_add(PyLdbModuleObject *self, PyObject *args)
PyErr_LDB_ERROR_IS_ERR_RAISE_FREE(PyExc_LdbError, ret, mod->ldb, req);
TALLOC_FREE(req);
Py_RETURN_NONE;
}
@ -3194,6 +3195,7 @@ static PyObject *py_ldb_module_modify(PyLdbModuleObject *self, PyObject *args)
PyErr_LDB_ERROR_IS_ERR_RAISE_FREE(PyExc_LdbError, ret, mod->ldb, req);
TALLOC_FREE(req);
Py_RETURN_NONE;
}
@ -3214,6 +3216,8 @@ static PyObject *py_ldb_module_delete(PyLdbModuleObject *self, PyObject *args)
PyErr_LDB_ERROR_IS_ERR_RAISE_FREE(PyExc_LdbError, ret, NULL, req);
TALLOC_FREE(req);
Py_RETURN_NONE;
}
@ -3236,6 +3240,8 @@ static PyObject *py_ldb_module_rename(PyLdbModuleObject *self, PyObject *args)
PyErr_LDB_ERROR_IS_ERR_RAISE_FREE(PyExc_LdbError, ret, NULL, req);
TALLOC_FREE(req);
Py_RETURN_NONE;
}