Re: [alsa-devel] [PATCH] sound/pci/mixart/mixart.c: Add missing snd_card_free
 
            
            
            
            
                27 Nov
                
                    2008
                
            
            
                27 Nov
                
                '08
                
            
            
            
        
    
                4:04 p.m.
            
        At Thu, 27 Nov 2008 15:40:40 +0100 (CET), Julia Lawall wrote:
From: Julia Lawall julia@diku.dk
The function snd_mixart_create creates a link between mgr and card that allows snd_mixart_free to free card as well. But if snd_mixart_create fails, then the link has not been created and card has to be freed explicitly.
The semantic match that finds the problem is as follows: (http://www.emn.fr/x-info/coccinelle/)
(snip)
Signed-off-by: Julia Lawall julia@diku.dk
Thanks, applied now.
Takashi
        6182
        
      
          Age (days ago)
        
      
        6182
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Takashi Iwai Takashi Iwai