> Reallocs should _always_ use a new temporary. > Otherwise, there will be a memory leak of the > original pointer memory on failure. > Thank you Joe for your comments. I will change the allocs, take care of the styling based on your comments when I split the patch and resubmit. Regards Sagar Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html