summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2013-02-08 15:49:56 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2013-02-08 15:49:56 +0000
commitc24aaf9bd018d8933fce23781b286e99f46dc581 (patch)
tree01407f570062338ebbb2022ec6f88812c058c57d
parent139737247d563f53a064c7f4a025a89ed64c2983 (diff)
efl/emotion: Fix memory leak in gstreamer_ecore_x_check().
The suported atom gets allocated in the ecore_x call but we leave the scope here without freeing the resource again. Free it when going out of scope. SVN revision: 83790
-rw-r--r--src/modules/emotion/gstreamer/emotion_gstreamer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/emotion/gstreamer/emotion_gstreamer.c b/src/modules/emotion/gstreamer/emotion_gstreamer.c
index e48d8f098f..894649c054 100644
--- a/src/modules/emotion/gstreamer/emotion_gstreamer.c
+++ b/src/modules/emotion/gstreamer/emotion_gstreamer.c
@@ -1110,6 +1110,7 @@ gstreamer_ecore_x_check(void)
1110 window_manager_video = EINA_TRUE; 1110 window_manager_video = EINA_TRUE;
1111 } 1111 }
1112 } 1112 }
1113 free(supported);
1113 } 1114 }
1114 } 1115 }
1115 } 1116 }