diff --git a/lib/download.c b/lib/download.c index dd62c01b..44cefe94 100644 --- a/lib/download.c +++ b/lib/download.c @@ -287,8 +287,8 @@ fetch_file_out: (void)close(fd); if (url != NULL) fetchFreeURL(url); - if (tempfile != NULL) - free(tempfile); + + free(tempfile); return rv; }