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

This commit is contained in:
antirez 2013-01-24 11:24:40 +01:00
parent ccef29ae2c
commit 3cfb3c52af

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