[evolution/evolution-3-12] Bug 742034 - Crash after dragging image URL to photo box in contact editor
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/evolution-3-12] Bug 742034 - Crash after dragging image URL to photo box in contact editor
- Date: Wed, 7 Jan 2015 15:11:59 +0000 (UTC)
commit 0d4aa89ec2c72794a75e2ea184cb21ed965dd468
Author: Milan Crha <mcrha redhat com>
Date: Wed Jan 7 16:09:21 2015 +0100
Bug 742034 - Crash after dragging image URL to photo box in contact editor
e-util/e-image-chooser.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/e-util/e-image-chooser.c b/e-util/e-image-chooser.c
index fdf9feb..cd7d663 100644
--- a/e-util/e-image-chooser.c
+++ b/e-util/e-image-chooser.c
@@ -265,9 +265,8 @@ image_chooser_file_loaded_cb (GFile *file,
goto exit;
}
- set_image_from_data (chooser, contents, length);
-
- g_free (contents);
+ if (!set_image_from_data (chooser, contents, length))
+ g_free (contents);
exit:
g_object_unref (chooser);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]