summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStephen McNamara <steve.mcnamara@ultra-sml.com>2009-12-08 17:55:13 -0800
committerMichael Smith <msmith@songbirdnest.com>2009-12-08 17:56:24 -0800
commit405872f69d0848b3f9e6a0fa112c831c52fca443 (patch)
tree6100b5876e2379c3bd2c0e5def3ffb6113c60b75 /sys
parentc5847abf30fb3870263bedfcdf89939a84541b97 (diff)
dshowvideosink: don't leak filter_media_event
Diffstat (limited to 'sys')
-rw-r--r--sys/dshowvideosink/dshowvideosink.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dshowvideosink/dshowvideosink.cpp b/sys/dshowvideosink/dshowvideosink.cpp
index ccdabbeac..773387212 100644
--- a/sys/dshowvideosink/dshowvideosink.cpp
+++ b/sys/dshowvideosink/dshowvideosink.cpp
@@ -1350,6 +1350,11 @@ gst_dshowvideosink_stop (GstBaseSink * bsink)
sink->filter_graph = NULL;
}
+ if (sink->filter_media_event) {
+ sink->filter_media_event->Release();
+ sink->filter_media_event = NULL;
+ }
+
return TRUE;
}