1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-30 21:55:24 +00:00

Free command memory

This commit is contained in:
James Booth 2012-04-27 01:16:31 +01:00
parent 161157a1c8
commit 07fdb4afef

View File

@ -65,6 +65,7 @@ gboolean process_input(char *inp)
} else if (inp[0] == '/') {
struct command_t cmd = _parse_command(inp);
result = _handle_command(cmd.command, inp);
free(cmd.command);
} else {
result = _cmd_default(inp);
}