From: Karsten Loesing Date: Sun, 15 Aug 2010 11:34:57 +0000 (+0200) Subject: Fix memory leak spotted by Nick. X-Git-Tag: tor-0.2.2.15-alpha~23^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d77c67d93dd263ba0b988b9f7c5bd956872dd6f;p=thirdparty%2Ftor.git Fix memory leak spotted by Nick. --- diff --git a/src/or/rephist.c b/src/or/rephist.c index bba96ffb12..63e602d052 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -2011,6 +2011,9 @@ rep_hist_exit_stats_history(time_t now) written_string, read_string, streams_string); + tor_free(written_string); + tor_free(read_string); + tor_free(streams_string); return result; }