[gthumb] memory error: add a reference to profile
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] memory error: add a reference to profile
- Date: Wed, 28 Jun 2017 09:51:47 +0000 (UTC)
commit d3531844694a80272aa149fcfdb2fc062c63729a
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Jun 27 17:01:25 2017 +0200
memory error: add a reference to profile
extensions/image_viewer/gth-image-viewer-page.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/image_viewer/gth-image-viewer-page.c b/extensions/image_viewer/gth-image-viewer-page.c
index fa67c96..b19bc31 100644
--- a/extensions/image_viewer/gth-image-viewer-page.c
+++ b/extensions/image_viewer/gth-image-viewer-page.c
@@ -263,7 +263,7 @@ profile_ready_cb (GObject *source_object,
profile = gth_color_manager_get_profile_finish (GTH_COLOR_MANAGER (source_object), res, NULL);
if (profile == NULL)
- profile = gth_browser_get_monitor_profile (self->priv->browser);
+ profile = _g_object_ref (gth_browser_get_monitor_profile (self->priv->browser));
gth_image_preloader_set_out_profile (self->priv->preloader, profile);
_gth_image_viewer_page_load_with_preloader_step2 (profile_data->self,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]