diff options
author | antirez <antirez@gmail.com> | 2013-01-24 11:24:40 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-01-28 13:14:49 +0100 |
commit | 2d20e68fe492b65fcf36af070b9701a9009e57f0 (patch) | |
tree | b95fc9d0988f59fe9ca1253cc562318c2d9bb11d /src/notify.c | |
parent | 5b9357a6b3b22bad794931bb71f56c612d6e7aac (diff) | |
download | redis-2d20e68fe492b65fcf36af070b9701a9009e57f0.tar.gz |
notifyKeyspaceEvent(): release channel names using the right pointers.
Diffstat (limited to 'src/notify.c')
-rw-r--r-- | src/notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notify.c b/src/notify.c index fc462d80f..da1d4d894 100644 --- a/src/notify.c +++ b/src/notify.c @@ -74,6 +74,6 @@ void notifyKeyspaceEvent(char *event, robj *key, int dbid) { /* Release objects. */ decrRefCount(eventobj); - decrRefCount(keyspace_chan); - decrRefCount(keyevent_chan); + decrRefCount(chan1); + decrRefCount(chan2); } |