X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Flib%2Femotion_main.c;h=54748f0026b3b65c06903de1bb4ff90eea8e9663;hb=4f920dce00f96132118f6c270e71c606f8b57c91;hp=cca649151b33b6a9c0603a0dba6c47b038d5110d;hpb=04b77a7b6efc9d9e84e1d29c24f6c61293ddec8c;p=profile%2Fivi%2Femotion.git diff --git a/src/lib/emotion_main.c b/src/lib/emotion_main.c index cca6491..54748f0 100644 --- a/src/lib/emotion_main.c +++ b/src/lib/emotion_main.c @@ -352,9 +352,11 @@ emotion_shutdown(void) EINA_LIST_FREE(_emotion_webcams->webcams, ew) { +#ifdef EMOTION_HAVE_EEZE /* There is currently no way to refcount from the outside, this help, but could lead to some issue */ EINA_REFCOUNT_UNREF(ew) emotion_webcam_destroy(ew); +#endif } free(_emotion_webcams); _emotion_webcams = NULL;