forked from PsychoticNinja/irssi
commit
f612f2ee51
@ -229,6 +229,7 @@ static void settings_add(const char *module, const char *section,
|
|||||||
if (rec->type != type) {
|
if (rec->type != type) {
|
||||||
g_warning("Trying to add already existing "
|
g_warning("Trying to add already existing "
|
||||||
"setting '%s' with different type.", key);
|
"setting '%s' with different type.", key);
|
||||||
|
g_strfreev(choices_vec);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
rec->refcount++;
|
rec->refcount++;
|
||||||
|
@ -92,8 +92,10 @@ static int dcc_ctcp_resume_parse(int type, const char *data, const char *nick,
|
|||||||
params = g_strsplit(data, " ", -1);
|
params = g_strsplit(data, " ", -1);
|
||||||
paramcount = g_strv_length(params);
|
paramcount = g_strv_length(params);
|
||||||
|
|
||||||
if (paramcount < 3)
|
if (paramcount < 3) {
|
||||||
|
g_strfreev(params);
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
fileparams = get_file_params_count_resume(params, paramcount);
|
fileparams = get_file_params_count_resume(params, paramcount);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user