From 3d77c67d93dd263ba0b988b9f7c5bd956872dd6f Mon Sep 17 00:00:00 2001 From: Karsten Loesing Date: Sun, 15 Aug 2010 13:34:57 +0200 Subject: [PATCH] Fix memory leak spotted by Nick. --- src/or/rephist.c | 3 +++ 1 file changed, 3 insertions(+) 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; }