]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix memory leak spotted by Nick.
authorKarsten Loesing <karsten.loesing@gmx.net>
Sun, 15 Aug 2010 11:34:57 +0000 (13:34 +0200)
committerKarsten Loesing <karsten.loesing@gmx.net>
Sun, 15 Aug 2010 11:34:57 +0000 (13:34 +0200)
src/or/rephist.c

index bba96ffb12dacbafc85aad17904d0fc8645e65cc..63e602d052702100e11d2d00a1069d39aa9f4079 100644 (file)
@@ -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;
 }