Merge pull request #982 from yarda/coverity

Fixed problem found by Coverity Scan

(cherry picked from commit c044fe397e1c235d91361bc60a74e6d2839f0237)
This commit is contained in:
ailin-nemui 2018-12-18 16:57:36 +01:00
parent a98bb2009d
commit bc7dac6d7c

View File

@ -425,6 +425,7 @@ static int dcc_send_one_file(int queue, const char *target, const char *fname,
g_free(str);
if (dcc == NULL) {
g_warn_if_reached();
close(hfile);
return FALSE;
}