Skip to content

Commit

Permalink
varnish: fix leak on read
Browse files Browse the repository at this point in the history
Since VSM_Close doesn't free the object we leak a few bytes
every interval
  • Loading branch information
rubenk authored and octo committed Jul 10, 2015
1 parent f8428bc commit 0eebd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/varnish.c
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ static int varnish_read (user_data_t *ud) /* {{{ */


varnish_monitor (conf, stats);
VSM_Close (vd);
VSM_Delete (vd);

return (0);
} /* }}} */
Expand Down

0 comments on commit 0eebd26

Please sign in to comment.