summaryrefslogtreecommitdiff
path: root/src/notify.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-01-24 11:24:40 +0100
committerantirez <antirez@gmail.com>2013-01-28 13:14:49 +0100
commit2d20e68fe492b65fcf36af070b9701a9009e57f0 (patch)
treeb95fc9d0988f59fe9ca1253cc562318c2d9bb11d /src/notify.c
parent5b9357a6b3b22bad794931bb71f56c612d6e7aac (diff)
downloadredis-2d20e68fe492b65fcf36af070b9701a9009e57f0.tar.gz
notifyKeyspaceEvent(): release channel names using the right pointers.
Diffstat (limited to 'src/notify.c')
-rw-r--r--src/notify.c4
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);
}