From 4ca6ae316922e78ff48cb3209a4b95aa81d48b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Pettersson?= Date: Sat, 22 Dec 2018 20:53:29 +0100 Subject: [PATCH] Fix downloading_path not being initialized --- src/twc-tfer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/twc-tfer.c b/src/twc-tfer.c index 35f43cb..25c7898 100644 --- a/src/twc-tfer.c +++ b/src/twc-tfer.c @@ -62,6 +62,7 @@ twc_tfer_new() struct t_twc_tfer *tfer = malloc(sizeof(struct t_twc_tfer)); tfer->files = twc_list_new(); tfer->buffer = NULL; + tfer->downloading_path = NULL; return tfer; }