[vlc-devel] commit: qtcapture: don't release an item that is in the autorelease pool ( Derk-Jan Hartman )

git version control git at videolan.org
Fri Jul 25 03:56:45 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Fri Jul 25 03:31:16 2008 +0200| [c0538c2c67f6f3a28d20ff2f7a9618353302d5bb]

qtcapture: don't release an item that is in the autorelease pool
Fixes a crash in Close() of the module.

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

 modules/access/qtcapture.m |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/access/qtcapture.m b/modules/access/qtcapture.m
index 0a334ec..eac2e6f 100644
--- a/modules/access/qtcapture.m
+++ b/modules/access/qtcapture.m
@@ -328,7 +328,6 @@ static void Close( vlc_object_t *p_this )
     if( vlc_object_alive(p_this->p_libvlc))
     {
         [p_sys->session stopRunning];
-        [p_sys->device release];
         [p_sys->output release];
         [p_sys->session release];
     }




More information about the vlc-devel mailing list