• antirez's avatar
    Streams: fixed memory leaks when blocking again for same stream. · 8f00cf85
    antirez authored
    blockForKeys() was not freeing the allocation holding the ID when the
    key was already found busy. Fortunately the unit test checked explicitly
    for blocking multiple times for the same key (copying a regression in
    the blocking lists tests), so the bug was detected by the Redis test leak
    checker.
    8f00cf85
blocked.c 20 KB