mirror of https://github.com/GNOME/gimp.git
plugged memory leak.
2008-07-22 Sven Neumann <sven@gimp.org> * app/widgets/gimpsessioninfo-aux.c (gimp_session_info_aux_new_from_props): plugged memory leak. 2008-07-22 Sven Neumann <sven@gimp.org> * app/widgets/gimphistogramview.c (gimp_histogram_view_set_background): fixed refcounting issue. This plugs the memory leak I tried to fix in GimpHistogramEditor. svn path=/trunk/; revision=26271
This commit is contained in:
parent
4368010863
commit
5b374543cb
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2008-07-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimpsessioninfo-aux.c
|
||||
(gimp_session_info_aux_new_from_props): plugged memory leak.
|
||||
|
||||
2008-07-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimphistogramview.c
|
||||
(gimp_histogram_view_set_background): fixed refcounting issue.
|
||||
This plugs the memory leak I tried to fix in GimpHistogramEditor.
|
||||
|
||||
2008-07-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/base/gimphistogram.[ch]: added new method
|
||||
|
|
|
@ -632,7 +632,7 @@ gimp_histogram_view_set_background (GimpHistogramView *view,
|
|||
if (view->bg_histogram != histogram)
|
||||
{
|
||||
if (view->bg_histogram)
|
||||
gimp_histogram_ref (view->bg_histogram);
|
||||
gimp_histogram_unref (view->bg_histogram);
|
||||
|
||||
view->bg_histogram = histogram;
|
||||
|
||||
|
|
|
@ -100,6 +100,7 @@ gimp_session_info_aux_new_from_props (GObject *object,
|
|||
}
|
||||
|
||||
g_value_unset (&value);
|
||||
g_string_free (str, TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue