mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Fix memleak in several commands that used cmd_return_error when they should be using cmd_param_error, by Toby Peterson (Bug 213)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3715 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
abb28cae20
commit
bd8712dde1
4 changed files with 5 additions and 5 deletions
|
|
@ -48,7 +48,7 @@ static void cmd_notify(gchar *data)
|
|||
idle_check_time = settings_get_time("notify_idle_time");
|
||||
else {
|
||||
if (!parse_time_interval(idletime, &idle_check_time))
|
||||
cmd_return_error(CMDERR_INVALID_TIME);
|
||||
cmd_param_error(CMDERR_INVALID_TIME);
|
||||
}
|
||||
|
||||
away_check = g_hash_table_lookup(optlist, "away") != NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue