[Ocfs2-tools-devel] [PATCH] libocfs2/alloc.c: initiate pointers to NULL for ocfs2_free()
    Joel Becker 
    Joel.Becker at oracle.com
       
    Wed Dec 30 20:18:40 PST 2009
    
    
  
On Sat, Dec 26, 2009 at 12:56:59AM +0800, Coly Li wrote:
> This patch initiates pointers to NULL, to avoid SIGSEG of ocfs2_free(),  if ocfs2_malloc_block() returns error.
> 
Coly,
	This patch is not necessary.  Notice that the functions return
if ocfs2_malloc_block() returns an error.  They do not jump to out:.
Joel
-- 
Life's Little Instruction Book #24
	"Drink champagne for no reason at all."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
    
    
More information about the Ocfs2-tools-devel
mailing list