app/dialogs/tips-parser.c app/display/gimpdisplayshell-autoscroll.c
2007-05-23 Sven Neumann <sven@gimp.org> * app/dialogs/tips-parser.c * app/display/gimpdisplayshell-autoscroll.c * app/menus/plug-in-menus.c * app/plug-in/gimpenvirontable.c * app/plug-in/gimpinterpreterdb.c * app/plug-in/gimpplugindebug.c * app/plug-in/gimppluginshm.c * app/text/gimptextundo.c: allocate structs using GSlice * app/widgets/gimpselectiondata.c (gimp_selection_data_set_color): stack allocate tempory data. svn path=/trunk/; revision=22588
This commit is contained in:

committed by
Sven Neumann

parent
cd772f930a
commit
c7bffbceaa
@ -69,7 +69,7 @@ gimp_plug_in_debug_new (void)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
debug = g_new (GimpPlugInDebug, 1);
|
||||
debug = g_slice_new (GimpPlugInDebug);
|
||||
|
||||
debug->args = args;
|
||||
|
||||
@ -102,7 +102,7 @@ gimp_plug_in_debug_free (GimpPlugInDebug *debug)
|
||||
if (debug->args)
|
||||
g_strfreev (debug->args);
|
||||
|
||||
g_free (debug);
|
||||
g_slice_free (GimpPlugInDebug, debug);
|
||||
}
|
||||
|
||||
gchar **
|
||||
|
Reference in New Issue
Block a user