[Ocfs2-tools-devel] [PATCH] libocfs2/alloc.c: initiate pointers to NULL for ocfs2_free()
Coly Li
coly.li at suse.de
Wed Dec 30 21:34:04 PST 2009
On 2009年12月31日 12:18, Joel Becker Wrote:
> 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:.
>
Oh! Thanks for point out this. Please ignore the noise :-)
--
Coly Li
SuSE Labs
More information about the Ocfs2-tools-devel
mailing list