Merge pull request #982 from yarda/coverity

Fixed problem found by Coverity Scan

(cherry picked from commit c044fe397e)
This commit is contained in:
ailin-nemui 2018-12-18 16:57:36 +01:00
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;
}