mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
Fix memory leaks
This commit is contained in:
parent
05d50ffa1b
commit
dde5fff4a5
2 changed files with 4 additions and 1 deletions
|
|
@ -92,8 +92,10 @@ static int dcc_ctcp_resume_parse(int type, const char *data, const char *nick,
|
|||
params = g_strsplit(data, " ", -1);
|
||||
paramcount = g_strv_length(params);
|
||||
|
||||
if (paramcount < 3)
|
||||
if (paramcount < 3) {
|
||||
g_strfreev(params);
|
||||
return 0;
|
||||
}
|
||||
|
||||
fileparams = get_file_params_count_resume(params, paramcount);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue