From: Sebastian Harl Date: Sun, 8 Mar 2015 21:46:45 +0000 (+0100) Subject: store: Fixed a memory leak in sdb_store_expr_iter_destroy(). X-Git-Tag: sysdb-0.8.0~132 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=79ba88585625806862fed2399256692c9469d630;p=sysdb.git store: Fixed a memory leak in sdb_store_expr_iter_destroy(). --- diff --git a/src/core/store_expr.c b/src/core/store_expr.c index 230c957..42ebcaa 100644 --- a/src/core/store_expr.c +++ b/src/core/store_expr.c @@ -374,6 +374,7 @@ sdb_store_expr_iter_destroy(sdb_store_expr_iter_t *iter) iter->array_idx = 0; sdb_object_deref(SDB_OBJ(iter->obj)); + sdb_object_deref(SDB_OBJ(iter->expr)); sdb_object_deref(SDB_OBJ(iter->filter)); free(iter); } /* sdb_store_expr_iter_destroy */