Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
2d20e68f
Commit
2d20e68f
authored
Jan 24, 2013
by
antirez
Browse files
notifyKeyspaceEvent(): release channel names using the right pointers.
parent
5b9357a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/notify.c
View file @
2d20e68f
...
@@ -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
(
chan
1
);
decrRefCount
(
keyevent_
chan
);
decrRefCount
(
chan
2
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment