[vlc-devel] commit: macosx intf: aout leaks (Derk-Jan Hartman )

git version control git at videolan.org
Thu Mar 12 16:48:44 CET 2009


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Thu Mar 12 16:46:57 2009 +0100| [77347b41beef94e47f421e1d02f2261fae33b3bb] | committer: Derk-Jan Hartman 

macosx intf: aout leaks

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

 modules/gui/macosx/extended.m |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/extended.m b/modules/gui/macosx/extended.m
index 3119bd2..377c949 100644
--- a/modules/gui/macosx/extended.m
+++ b/modules/gui/macosx/extended.m
@@ -706,6 +706,7 @@ static VLCExtended *_o_sharedInstance = nil;
         }
         else
         {
+            if( p_aout ) vlc_object_release( p_aout );
             return;
         }
     }
@@ -725,6 +726,7 @@ static VLCExtended *_o_sharedInstance = nil;
          else
          {
              free( psz_string );
+             if( p_aout ) vlc_object_release( p_aout );
              return;
          }
     }




More information about the vlc-devel mailing list