diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-12-25 17:02:11 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-12-25 17:02:11 +0100 |
commit | dd6e5282e8fa0f9b9ee9e66f3af7d67661fc3b0d (patch) | |
tree | c554b2c9909c95d92762500831390da55842247f /src/plugins/xfer/xfer-buffer.c | |
parent | 302b0f2f653fcb230cb6dab9313d554244f50127 (diff) | |
download | weechat-dd6e5282e8fa0f9b9ee9e66f3af7d67661fc3b0d.zip |
xfer: fix memory leak when refreshing xfer buffer
Diffstat (limited to 'src/plugins/xfer/xfer-buffer.c')
-rw-r--r-- | src/plugins/xfer/xfer-buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |