If luns allocation fails, common->luns will be NULL and freeing a NULL pointer is a no-operation thus the code works just fine.
On Wed, 12 May 2010 12:37:38 +0200, Viral Mehta <Viral.Mehta@xxxxxxxxxxxxxxx> wrote:
Oh, okie. This was new to me. Sorry for the noise.
Not a problem. -- Best regards, _ _ | Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o | Computer Science, Michał "mina86" Nazarewicz (o o) +----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo-- -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html