mirror of https://github.com/GNOME/gimp.git
don't free the filename too early.
2004-01-09 Sven Neumann <sven@gimp.org> * app/gui/tips-dialog.c (tips_dialog_create): don't free the filename too early.
This commit is contained in:
parent
90b2621ec2
commit
9022cc3a4b
|
@ -1,3 +1,8 @@
|
|||
2004-01-09 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/gui/tips-dialog.c (tips_dialog_create): don't free the
|
||||
filename too early.
|
||||
|
||||
2004-01-09 Dave Neary <bolsh@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-scale.c: Modify behaviour of
|
||||
|
|
|
@ -83,7 +83,6 @@ tips_dialog_create (Gimp *gimp)
|
|||
"gimp-tips.xml", NULL);
|
||||
|
||||
tips = gimp_tips_from_file (filename, &error);
|
||||
g_free (filename);
|
||||
|
||||
if (!tips)
|
||||
{
|
||||
|
@ -112,6 +111,8 @@ tips_dialog_create (Gimp *gimp)
|
|||
filename, error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
|
||||
g_free (filename);
|
||||
}
|
||||
|
||||
tips_count = g_list_length (tips);
|
||||
|
|
|
@ -83,7 +83,6 @@ tips_dialog_create (Gimp *gimp)
|
|||
"gimp-tips.xml", NULL);
|
||||
|
||||
tips = gimp_tips_from_file (filename, &error);
|
||||
g_free (filename);
|
||||
|
||||
if (!tips)
|
||||
{
|
||||
|
@ -112,6 +111,8 @@ tips_dialog_create (Gimp *gimp)
|
|||
filename, error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
|
||||
g_free (filename);
|
||||
}
|
||||
|
||||
tips_count = g_list_length (tips);
|
||||
|
|
Loading…
Reference in New Issue