diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2010-08-15 13:34:57 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2010-08-15 13:34:57 +0200 |
commit | 3d77c67d93dd263ba0b988b9f7c5bd956872dd6f (patch) | |
tree | 020b0efe48fd32e67aa2d978dcc1b641f1f32e6b /src/or/rephist.c | |
parent | acd25558b825f5d1254738fc45f5c7f0ccb3fb94 (diff) | |
download | tor-3d77c67d93dd263ba0b988b9f7c5bd956872dd6f.tar.gz tor-3d77c67d93dd263ba0b988b9f7c5bd956872dd6f.zip |
Fix memory leak spotted by Nick.
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |