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

This commit is contained in:
antirez 2013-01-24 11:24:40 +01:00
parent 5b9357a6b3
commit 2d20e68fe4

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