Skip to content

Commit e669167

Browse files
committed
Fixed memory leak in MSET
1 parent 0c03ac7 commit e669167

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redis_array.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,8 @@ PHP_METHOD(RedisArray, mset)
797797
}
798798

799799
/* cleanup */
800+
efree(keys);
801+
efree(key_lens);
800802
efree(argv);
801803
efree(pos);
802804
efree(redis_instances);

0 commit comments

Comments
 (0)