app: don't leak "buffer" in gimp_interpreter_db_add_binfmt_misc()

This commit is contained in:
Michael Natterer 2014-10-06 20:34:56 +02:00
parent aa6024dc93
commit 2aec36a899
1 changed files with 2 additions and 0 deletions

View File

@ -327,6 +327,8 @@ gimp_interpreter_db_add_binfmt_misc (GimpInterpreterDB *db,
tokens = g_strsplit (buffer + 1, del, -1);
g_free (buffer);
name = tokens[0];
type = tokens[1];
program = tokens[5];