From a64383c8610bee2db6a3089bb9a7c6a39c431481 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 24 Jan 2013 11:24:40 +0100 Subject: [PATCH] notifyKeyspaceEvent(): release channel names using the right pointers. --- src/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notify.c b/src/notify.c index fc462d80..da1d4d89 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); } -- GitLab