diff --git a/ChangeLog b/ChangeLog index 1913ad7b50..ca93dffd60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2008-07-22 Sven Neumann + + * app/widgets/gimpsessioninfo-aux.c + (gimp_session_info_aux_new_from_props): plugged memory leak. + +2008-07-22 Sven Neumann + + * 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 * app/base/gimphistogram.[ch]: added new method diff --git a/app/widgets/gimphistogramview.c b/app/widgets/gimphistogramview.c index 48a6d16e0f..e84f03db26 100644 --- a/app/widgets/gimphistogramview.c +++ b/app/widgets/gimphistogramview.c @@ -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; diff --git a/app/widgets/gimpsessioninfo-aux.c b/app/widgets/gimpsessioninfo-aux.c index 2fbd4118ad..be3a099f2b 100644 --- a/app/widgets/gimpsessioninfo-aux.c +++ b/app/widgets/gimpsessioninfo-aux.c @@ -100,6 +100,7 @@ gimp_session_info_aux_new_from_props (GObject *object, } g_value_unset (&value); + g_string_free (str, TRUE); } else {