Skip to content

Commit ecfe7b0

Browse files
authored
Merge pull request #457 from RedisAI/v1.0.2
Fix memory leak and version bump
2 parents 9e7d365 + 88177c1 commit ecfe7b0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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(

src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef SRC_VERSION_H_
22
#define SRC_VERSION_H_
33

4-
#define RAI_ENC_VER 10001
4+
#define RAI_ENC_VER 10002
55

66
/* API versions. */
77
#define REDISAI_LLAPI_VERSION 1

0 commit comments

Comments
 (0)