--- El vie, 11/9/09, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> escribió: > > > > > > ret == -EINVAL > > > > > > > At this point ret is not -EINVAL. > > Yes it is. We just did > > ret = -EINVAL; > > > If that assignment happens, we leak `this'. > Hi Andrew, I misunderstood you. I thought that you were trying to imply on your original comment that retval was _already_ -EINVAL at that point. Now I see the issue. `this' should be freed if successfully parsed (!ret) or if invalid and not going to be passed to a SDIO driver (ret == -EINVAL). Thanks for catching that. I'll send an updated patch. Cheers, Albert -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html