projects
/
projects
/
chimara
/
chimara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8f6a1
)
Fixed memory leak
author
P. F. Chimento
<philip.chimento@gmail.com>
Sun, 30 Jan 2011 15:05:35 +0000
(16:05 +0100)
committer
P. F. Chimento
<philip.chimento@gmail.com>
Sun, 30 Jan 2011 15:05:35 +0000
(16:05 +0100)
libchimara/schannel.c
patch
|
blob
|
history
diff --git
a/libchimara/schannel.c
b/libchimara/schannel.c
index 93146b1ed843db80046aa8a8f30e9235e7df66a5..e9f705245111d5418c939bee0949c7744f61c315 100644
(file)
--- a/
libchimara/schannel.c
+++ b/
libchimara/schannel.c
@@
-429,6
+429,7
@@
glk_schannel_play_ext(schanid_t chan, glui32 snd, glui32 repeats, glui32 notify)
chan->repeats = repeats;
g_object_set(chan->source, "stream", stream, NULL);
+ g_object_unref(stream); /* Now owned by GStreamer element */
if(!gst_element_set_state(chan->pipeline, GST_STATE_PLAYING)) {
WARNING_S(_("Could not set GstElement state to"), "PLAYING");