Streams: fix xdel memory leak

This commit is contained in:
zhaozhao.zz
2018-07-25 00:06:27 +08:00
committed by antirez
parent dc600a25cd
commit 0c00837669

View File

@ -764,6 +764,7 @@ int streamDeleteItem(stream *s, streamID *id) {
streamIteratorRemoveEntry(&si,&myid);
deleted = 1;
}
streamIteratorStop(&si);
return deleted;
}