Fix downloading_path not being initialized

This commit is contained in:
Håvard Pettersson 2018-12-22 20:53:29 +01:00
parent 5223c2c24b
commit 4ca6ae3169

View File

@ -62,6 +62,7 @@ twc_tfer_new()
struct t_twc_tfer *tfer = malloc(sizeof(struct t_twc_tfer)); struct t_twc_tfer *tfer = malloc(sizeof(struct t_twc_tfer));
tfer->files = twc_list_new(); tfer->files = twc_list_new();
tfer->buffer = NULL; tfer->buffer = NULL;
tfer->downloading_path = NULL;
return tfer; return tfer;
} }