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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user