From a040a0244bb317ed66512817902c7e7a8b405614 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 11 Jul 2025 12:42:15 -0700 Subject: [PATCH] nostrdb: search: fix memleak in profile search Signed-off-by: William Casarin --- nostrdb/src/nostrdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c index a38f5293..ce6933cc 100644 --- a/nostrdb/src/nostrdb.c +++ b/nostrdb/src/nostrdb.c @@ -4197,6 +4197,7 @@ static int ndb_query_plan_execute_profile_search( goto fail; } + ndb_search_profile_end(&profile_search); ndb_filter_destroy(f); return 1;