summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-07-27 22:06:48 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-07-27 22:06:48 +0200
commit56b82fb11558ab7c314217bc25ffc5517f381645 (patch)
tree81a5e43158ddf2ab0985a2c12e598560c24b0b82 /src
parent9b4f52ac13af782ba1ba2484d4c88f1e827337bd (diff)
downloadweechat-56b82fb11558ab7c314217bc25ffc5517f381645.zip
xfer: fix crash when closing DCC chat buffer
Diffstat (limited to 'src')
-rw-r--r--src/plugins/xfer/xfer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c
index 6be091d88..4c114b81c 100644
--- a/src/plugins/xfer/xfer.c
+++ b/src/plugins/xfer/xfer.c
@@ -965,8 +965,6 @@ xfer_free (struct t_xfer *xfer)
free (xfer->remote_address);
if (xfer->remote_address_str)
free (xfer->remote_address_str);
- if (xfer->buffer)
- free (xfer->buffer);
if (xfer->remote_nick_color)
free (xfer->remote_nick_color);
if (xfer->hook_fd)