From dd6e5282e8fa0f9b9ee9e66f3af7d67661fc3b0d Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 25 Dec 2012 17:02:11 +0100 Subject: xfer: fix memory leak when refreshing xfer buffer --- src/plugins/xfer/xfer-buffer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/xfer/xfer-buffer.c') diff --git a/src/plugins/xfer/xfer-buffer.c b/src/plugins/xfer/xfer-buffer.c index 0b9ca869f..813ecc71e 100644 --- a/src/plugins/xfer/xfer-buffer.c +++ b/src/plugins/xfer/xfer-buffer.c @@ -228,6 +228,8 @@ xfer_buffer_refresh (const char *hotlist) (str_total) ? str_total : "?", eta, str_bytes_per_sec); + if (progress_bar) + free (progress_bar); if (str_pos) free (str_pos); if (str_total) -- cgit v1.2.3