Am 05.03.2015 13:03, schrieb Lars-Peter Clausen: > On 03/05/2015 11:45 AM, Vishal Thanki wrote: >> I am new to kasprintf. I think we need to make sure of freeing memory >> allocated using kasprintf. > > There is also devm_kasprintf(). > > But these are really two separate things. One thing is the missing NULL > check, which is a bug fix and is fixed by your patch. The other thing is > the conversion to kasprintf() which is a code cleanup and should be done > in a separate patch. > hi, thx for the hint: never read about devm_kasprintf(). ntl my mail was intended as hint about asprintf() not about the patch. re, wh -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html