summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/emotion_main.c b/legacy/emotion/src/lib/emotion_main.c
index cca649151b..54748f0026 100644
--- a/legacy/emotion/src/lib/emotion_main.c
+++ b/legacy/emotion/src/lib/emotion_main.c
@@ -352,9 +352,11 @@ emotion_shutdown(void)
352 352
353 EINA_LIST_FREE(_emotion_webcams->webcams, ew) 353 EINA_LIST_FREE(_emotion_webcams->webcams, ew)
354 { 354 {
355#ifdef EMOTION_HAVE_EEZE
355 /* There is currently no way to refcount from the outside, this help, but could lead to some issue */ 356 /* There is currently no way to refcount from the outside, this help, but could lead to some issue */
356 EINA_REFCOUNT_UNREF(ew) 357 EINA_REFCOUNT_UNREF(ew)
357 emotion_webcam_destroy(ew); 358 emotion_webcam_destroy(ew);
359#endif
358 } 360 }
359 free(_emotion_webcams); 361 free(_emotion_webcams);
360 _emotion_webcams = NULL; 362 _emotion_webcams = NULL;