]> git.saurik.com Git - redis.git/commit
SRANDMEMBER <count> leak fixed.
authorantirez <antirez@gmail.com>
Thu, 20 Sep 2012 14:33:36 +0000 (16:33 +0200)
committerantirez <antirez@gmail.com>
Fri, 21 Sep 2012 09:55:32 +0000 (11:55 +0200)
commit578c94597fda163eb6050ce5e0f832a6587a14b9
treed1fa2ec0a72b88979e0f0b32bd368dc1aaa87c3d
parentbe90c803e3bb041335ea0b8f40348965846f06b7
SRANDMEMBER <count> leak fixed.

For "CASE 4" (see code) we need to free the element if it's already in
the result dictionary and adding it failed.
src/t_set.c