[master] 77f4d84 Plug harmless memleak
Federico G. Schwindt
fgsch at lodoss.net
Sat May 20 12:28:05 CEST 2017
commit 77f4d84c39d810fdb2d66aac8faaf3d956711b4b
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Sat May 20 11:09:09 2017 +0100
Plug harmless memleak
diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index c819cdd..d734a79 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -754,6 +754,7 @@ receive_frame(void *priv)
AZ(pthread_mutex_lock(&hp->mtx));
VTAILQ_FOREACH(s, &hp->streams, list)
AZ(pthread_cond_signal(&s->cond));
+ clean_frame(&f);
AZ(pthread_mutex_unlock(&hp->mtx));
vtc_log(hp->vl, hp->fatal,
"could not get frame body");
More information about the varnish-commit
mailing list