summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2015-12-30 08:56:46 (GMT)
committerMinkyu Kang <mk7.kang@samsung.com>2015-12-30 08:56:46 (GMT)
commit0358ed1b3c7e30b01c41001f983ffdacbb81681d (patch)
tree18b97036fc7793fe38da6e6351e4fbbd7b943da8
parent387bda6e97f1f33b4c0fb6eebde4ade3469006e9 (diff)
downloadair_mediahub-0358ed1b3c7e30b01c41001f983ffdacbb81681d.zip
air_mediahub-0358ed1b3c7e30b01c41001f983ffdacbb81681d.tar.gz
air_mediahub-0358ed1b3c7e30b01c41001f983ffdacbb81681d.tar.bz2
viewer: set photocam path to NULL when unloadedrefs/changes/45/55945/1
Change-Id: Id4406aa9616070b3da9de3887bf7120fdd90fd1e Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--src/view/viewer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/viewer.c b/src/view/viewer.c
index cb51621..bc0bf03 100644
--- a/src/view/viewer.c
+++ b/src/view/viewer.c
@@ -239,6 +239,7 @@ static void _set_bg_color(struct _priv *priv, int r, int g, int b, int a)
static void _image_unload(struct _priv *priv)
{
if (priv->photo_pre) {
+ elm_photocam_file_set(priv->photo_pre, NULL);
evas_object_del(priv->photo_pre);
priv->photo_pre = NULL;
}