[vlc-commits] motion: destroy motion data properly

Pierre Ynard git at videolan.org
Fri Oct 12 00:56:49 CEST 2012


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Fri Oct 12 00:55:49 2012 +0200| [02bff0132d2bd15458070dcba9005b3fd12a95c3] | committer: Pierre Ynard

motion: destroy motion data properly

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02bff0132d2bd15458070dcba9005b3fd12a95c3
---

 modules/control/motion.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/control/motion.c b/modules/control/motion.c
index f141556..05fde54 100644
--- a/modules/control/motion.c
+++ b/modules/control/motion.c
@@ -105,7 +105,7 @@ void Close ( vlc_object_t *p_this )
 {
     intf_thread_t *p_intf = (intf_thread_t *)p_this;
 
-    free( p_intf->p_sys->p_motion );
+    motion_destroy( p_intf->p_sys->p_motion );
     free( p_intf->p_sys );
 }
 



More information about the vlc-commits mailing list