summaryrefslogtreecommitdiffstats
path: root/gst/avi
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-16 10:08:12 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-16 10:08:12 +0000
commit46ed1fae901af3c6589b2a13a6a5e33dcc92a304 (patch)
tree8a9bd6ef3e9b92426d9dfad8c0408a96c815dd99 /gst/avi
parent3723e7250074c14f3d474fd7059d4bf115e088be (diff)
gst/avi/gstavimux.c: Free events (fix memleak in #162905).
Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avimux_handle_event): Free events (fix memleak in #162905).
Diffstat (limited to 'gst/avi')
-rw-r--r--gst/avi/gstavimux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c
index 7550baeb..e12a03b6 100644
--- a/gst/avi/gstavimux.c
+++ b/gst/avi/gstavimux.c
@@ -1145,6 +1145,8 @@ gst_avimux_handle_event (GstPad * pad, GstEvent * event)
break;
}
+ gst_event_unref (event);
+
return TRUE;
}