1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

xfer: fix memory leak when refreshing xfer buffer

This commit is contained in:
Sebastien Helleu
2012-12-25 17:02:11 +01:00
parent 302b0f2f65
commit dd6e5282e8
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -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)