mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
parent
25b274b8d1
commit
b738e8f363
@ -256,12 +256,12 @@ parse_args_with_freetext(const char * const inp, int min, int max)
|
||||
}
|
||||
}
|
||||
|
||||
free(copy);
|
||||
|
||||
if (in_token) {
|
||||
tokens = g_slist_append(tokens, g_strndup(token_start, token_size));
|
||||
}
|
||||
|
||||
free(copy);
|
||||
|
||||
int num = g_slist_length(tokens) - 1;
|
||||
|
||||
// if num args not valid return NULL
|
||||
|
Loading…
Reference in New Issue
Block a user