diff options
author | Simo Sorce <idra@samba.org> | 2005-04-25 12:46:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:40 -0500 |
commit | fe4d985b6f3d318d9b58a16677be3b4ae34fba15 (patch) | |
tree | 2cc878469fa214d73b852341e080d176a9577d3f /source4/lib/ldb/modules/timestamps.c | |
parent | c06297f776d92354e92f0ddda659778d57f426e5 (diff) | |
download | samba-fe4d985b6f3d318d9b58a16677be3b4ae34fba15.tar.gz samba-fe4d985b6f3d318d9b58a16677be3b4ae34fba15.tar.bz2 samba-fe4d985b6f3d318d9b58a16677be3b4ae34fba15.zip |
r6470: Remove ldb_search_free() it is not needed anymore.
Just use talloc_free() to release the memory after an ldb_search().
(This used to be commit 4f0948dab0aa5e8b6a4ce486f3668ca8dfae23db)
Diffstat (limited to 'source4/lib/ldb/modules/timestamps.c')
-rw-r--r-- | source4/lib/ldb/modules/timestamps.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/lib/ldb/modules/timestamps.c b/source4/lib/ldb/modules/timestamps.c index c472fc3c55..1c01bd14fd 100644 --- a/source4/lib/ldb/modules/timestamps.c +++ b/source4/lib/ldb/modules/timestamps.c @@ -49,12 +49,6 @@ static int timestamps_search(struct ldb_module *module, const char *base, return ldb_next_search(module, base, scope, expression, attrs, res); } -static int timestamps_search_free(struct ldb_module *module, struct ldb_message **res) -{ - ldb_debug(module->ldb, LDB_DEBUG_TRACE, "timestamps_search_free\n"); - return ldb_next_search_free(module, res); -} - static int add_time_element(struct ldb_module *module, struct ldb_message *msg, const char *attr_name, const char *time_string, unsigned int flags) { @@ -255,7 +249,6 @@ static int timestamps_destructor(void *module_ctx) static const struct ldb_module_ops timestamps_ops = { "timestamps", timestamps_search, - timestamps_search_free, timestamps_add_record, timestamps_modify_record, timestamps_delete_record, |