From a152681256cef9d01480e3b9e29bd4638e6bdd0b Mon Sep 17 00:00:00 2001 From: charsyam Date: Wed, 21 Mar 2018 17:41:59 +0900 Subject: [PATCH] fix memory leak for streamPropagateXCLAIM --- src/t_stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/t_stream.c b/src/t_stream.c index daf9509d3..4640f0b2c 100644 --- a/src/t_stream.c +++ b/src/t_stream.c @@ -712,6 +712,7 @@ void streamPropagateXCLAIM(client *c, robj *key, robj *group, robj *id, streamNA decrRefCount(argv[8]); decrRefCount(argv[9]); decrRefCount(argv[10]); + decrRefCount(argv[11]); } /* Send the specified range to the client 'c'. The range the client will