[vlc-devel] commit: libvlc: Properly release vout. Pointed out by Lukas. (Pierre d' Herbemont )

git version control git at videolan.org
Fri Jun 13 15:05:34 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Jun 13 14:56:18 2008 +0200| [662da2b390ed6c9de9c49ac1d349d855facaa819]

libvlc: Properly release vout. Pointed out by Lukas.

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

 src/control/video.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/control/video.c b/src/control/video.c
index ba60fe0..df7e7c9 100644
--- a/src/control/video.c
+++ b/src/control/video.c
@@ -96,6 +96,8 @@ int libvlc_get_fullscreen( libvlc_media_player_t *p_mi,
         libvlc_exception_raise( p_e,
                         "Unexpected error while looking up fullscreen value" );
 
+    vlc_object_release( p_vout1 );
+
     return val.b_bool == true ? 1 : 0;
 }
 




More information about the vlc-devel mailing list