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); }