Skip to content

Commit 5021945

Browse files
committed
Fix call
1 parent 7d1c045 commit 5021945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static void *RAI_Model_RdbLoad(struct RedisModuleIO *io, int encver) {
119119
model->infokey =
120120
RAI_AddStatsEntry(stats_ctx, stats_keystr, RAI_MODEL, backend, stats_devicestr, stats_tag);
121121

122-
RedisModule_FreeString(stats_keystr);
122+
RedisModule_FreeString(NULL, stats_keystr);
123123

124124
return model;
125125
}

0 commit comments

Comments
 (0)