[vlc-devel] commit: Fix memleak (#2350). ( Rémi Duraffort )

git version control git at videolan.org
Mon Dec 15 19:43:20 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Dec 15 19:40:27 2008 +0100| [e775480515f22b364ac6004275e62a43ca702ae0] | committer: Rémi Duraffort 

Fix memleak (#2350).

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

 modules/control/hotkeys.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index e3df64e..3959804 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -971,6 +971,7 @@ static void PlayBookmark( intf_thread_t *p_intf, int i_num )
             free( psz_uri );
     FOREACH_END();
     PL_UNLOCK;
+    free( psz_bookmark );
     vlc_object_release( p_playlist );
 }
 




More information about the vlc-devel mailing list