mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 01:30:19 +00:00
Fix some leaks
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user