From: des Date: Sun, 17 Feb 2008 09:03:32 +0000 (+0000) Subject: Free leftover buffers when the loop ends (Coverity CID#10) X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3030cca33d503e747547103b77914cba026a9f0;p=varnish Free leftover buffers when the loop ends (Coverity CID#10) git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2494 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishreplay/varnishreplay.c b/varnish-cache/bin/varnishreplay/varnishreplay.c index b640c8c0..a7ec74c4 100644 --- a/varnish-cache/bin/varnishreplay/varnishreplay.c +++ b/varnish-cache/bin/varnishreplay/varnishreplay.c @@ -585,6 +585,16 @@ replay_thread(void *arg) freez(df_c); bogus = 0; } + + /* leftovers */ + freez(msg->ptr); + freez(msg); + freez(df_H); + freez(df_Host); + freez(df_Uq); + freez(df_m); + freez(df_c); + return (0); }