projects
/
profile
/
ivi
/
emotion.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432a397
)
emotion: fix some memory leak.
author
cedric
<cedric>
Fri, 5 Aug 2011 08:51:10 +0000
(08:51 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 5 Aug 2011 08:51:10 +0000
(08:51 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62128
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/modules/gstreamer/emotion_gstreamer.c
patch
|
blob
|
history
diff --git
a/src/modules/gstreamer/emotion_gstreamer.c
b/src/modules/gstreamer/emotion_gstreamer.c
index
d8c24c7
..
c39b033
100644
(file)
--- a/
src/modules/gstreamer/emotion_gstreamer.c
+++ b/
src/modules/gstreamer/emotion_gstreamer.c
@@
-361,6
+361,12
@@
em_shutdown(void *video)
ev->thread = NULL;
}
+ if (ev->eos_bus)
+ {
+ gst_object_unref(GST_OBJECT(ev->eos_bus));
+ ev->eos_bus = NULL;
+ }
+
if (ev->pipeline)
{
gst_element_set_state(ev->pipeline, GST_STATE_NULL);