提交 94af55c5 编写于 作者: A antirez

Streams: fix memory leak in freeStream().

上级 3a0b78bc
......@@ -54,6 +54,7 @@ stream *streamNew(void) {
/* Free a stream, including the listpacks stored inside the radix tree. */
void freeStream(stream *s) {
raxFreeWithCallback(s->rax,(void(*)(void*))lpFree);
zfree(s);
}
/* Generate the next stream item ID given the previous one. If the current
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册