Skip to content

Commit 88177c1

Browse files
committed
Fix leak
1 parent a4585b4 commit 88177c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dag.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ int RedisAI_DagRun_Reply(RedisModuleCtx *ctx, RedisModuleString **argv,
273273
localcontext_key_name);
274274
local_entry = AI_dictNext(local_iter);
275275
}
276+
AI_dictReleaseIterator(local_iter);
276277

277278
for (size_t opN = 0; opN < array_len(rinfo->dagOps); opN++) {
278279
RedisModule_Log(

0 commit comments

Comments
 (0)