From 876c0214e6f341d071929026a08e1b127e8a0b7f Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 9 Mar 2011 10:10:13 +0100 Subject: Almost real video playback --- src/grabbers/me4.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/grabbers/me4.c') diff --git a/src/grabbers/me4.c b/src/grabbers/me4.c index 17b46e3..a833c07 100644 --- a/src/grabbers/me4.c +++ b/src/grabbers/me4.c @@ -18,8 +18,10 @@ struct uca_me4_grabber_t { uint32_t uca_me4_destroy(struct uca_grabber_t *grabber) { - if (grabber != NULL) + if (grabber != NULL) { + Fg_FreeMemEx(GET_FG(grabber), GET_MEM(grabber)); Fg_FreeGrabber(GET_FG(grabber)); + } } uint32_t uca_me4_set_property(struct uca_grabber_t *grabber, enum uca_property_ids property, void *data) -- cgit v1.2.3