]> git.sesse.net Git - vlc/commitdiff
macosx intf: aout leaks
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 12 Mar 2009 15:46:57 +0000 (16:46 +0100)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 12 Mar 2009 15:48:18 +0000 (16:48 +0100)
modules/gui/macosx/extended.m

index 3119bd2c37010138bba37293ce0f9f8c7315df5f..377c9490f568fd1ceee1905fd0363088660fdd50 100644 (file)
@@ -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;
          }
     }