Merge pull request #5133 from soloestoy/fix-xdel-memory-leak

Streams: fix xdel memory leak
This commit is contained in:
Salvatore Sanfilippo
2018-07-24 18:57:05 +02:00
committed by GitHub

View File

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