[evolution/wip/webkit2] Bug 742034 - Crash after dragging image URL to photo box in contact editor
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Bug 742034 - Crash after dragging image URL to photo box in contact editor
- Date: Wed, 22 Apr 2015 12:47:05 +0000 (UTC)
commit 72a2a8200472bbcc0b7d0cb99ae5e69e4ffd0d83
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]