Commit 2d20e68f authored by antirez's avatar antirez
Browse files

notifyKeyspaceEvent(): release channel names using the right pointers.

parent 5b9357a6
...@@ -74,6 +74,6 @@ void notifyKeyspaceEvent(char *event, robj *key, int dbid) { ...@@ -74,6 +74,6 @@ void notifyKeyspaceEvent(char *event, robj *key, int dbid) {
/* Release objects. */ /* Release objects. */
decrRefCount(eventobj); decrRefCount(eventobj);
decrRefCount(keyspace_chan); decrRefCount(chan1);
decrRefCount(keyevent_chan); decrRefCount(chan2);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment