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

This commit is contained in:
antirez
2013-01-28 13:17:22 +01:00
parent fdfb59beae
commit a64383c861
+2 -2
View File
@@ -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);
}