summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/jack/gstjack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c
index c86f8566..3a9aef79 100644
--- a/ext/jack/gstjack.c
+++ b/ext/jack/gstjack.c
@@ -451,7 +451,7 @@ gst_jack_loop (GstElement *element)
* also, for sample accuracy etc, we should play avail
* bytes, but hey. */
gst_element_set_eos (element);
- gst_event_free (event);
+ gst_event_unref (event);
gst_element_yield (element); /* shouldn't return */
return;
}