mirror of https://github.com/GNOME/gimp.git
parent
40779fe370
commit
a9df0647fc
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Feb 24 02:20:15 CET 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/gimprc.c: gimp_parasite_attach() creates a copy of
|
||||||
|
the parasite, so free it here after attaching it
|
||||||
|
|
||||||
Thu Feb 24 00:42:12 CET 2000 Sven Neumann <sven@gimp.org>
|
Thu Feb 24 00:42:12 CET 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/text_tool.c: don't crash if a font couldn't be loaded.
|
* app/text_tool.c: don't crash if a font couldn't be loaded.
|
||||||
|
|
|
@ -2407,6 +2407,7 @@ parse_parasite (gpointer val1p,
|
||||||
int res = ERROR;
|
int res = ERROR;
|
||||||
gchar *identifier = NULL;
|
gchar *identifier = NULL;
|
||||||
gulong flags = 0;
|
gulong flags = 0;
|
||||||
|
Parasite *parasite;
|
||||||
|
|
||||||
token = get_next_token ();
|
token = get_next_token ();
|
||||||
if (token != TOKEN_STRING)
|
if (token != TOKEN_STRING)
|
||||||
|
@ -2424,7 +2425,9 @@ parse_parasite (gpointer val1p,
|
||||||
if (token != TOKEN_STRING)
|
if (token != TOKEN_STRING)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
gimp_parasite_attach (parasite_new (identifier, flags, token_int, token_str));
|
parasite = parasite_new (identifier, flags, token_int, token_str);
|
||||||
|
gimp_parasite_attach (parasite); /* attaches a copy */
|
||||||
|
parasite_free (parasite);
|
||||||
|
|
||||||
token = get_next_token ();
|
token = get_next_token ();
|
||||||
if (token != TOKEN_RIGHT_PAREN)
|
if (token != TOKEN_RIGHT_PAREN)
|
||||||
|
|
Loading…
Reference in New Issue