]> err.no Git - varnish/commitdiff
Free leftover buffers when the loop ends (Coverity CID#10)
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 17 Feb 2008 09:03:32 +0000 (09:03 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 17 Feb 2008 09:03:32 +0000 (09:03 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2494 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishreplay/varnishreplay.c

index b640c8c04f111d84fe810e1366b94b8ae36693d3..a7ec74c4b2b1d84718c93cfb1f7a28110a25a883 100644 (file)
@@ -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);
 }