Fix some leaks

This commit is contained in:
TingPing
2014-02-12 10:28:53 -05:00
parent ba399eb7f9
commit b17c0276de
6 changed files with 16 additions and 0 deletions

View File

@@ -1805,7 +1805,10 @@ dcc_send (struct session *sess, char *to, char *file, int maxcps, int passive)
dcc = new_dcc ();
if (!dcc)
{
free (file);
return;
}
dcc->file = file;
dcc->maxcps = maxcps;