Re: [patch]fix memory leak in usbtmc's get_capabilities()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Donnerstag, 2. Juli 2009 11:55:40 schrieb Tilman Schmidt:
> On Thu, 2 Jul 2009 11:20:12 +0200, Oliver Neukum wrote:
> > +err_out:
> >  	kfree(buffer);
> >  	return 0;
>
> Shouldn't that be changed to "return rv;" here then?

Yes, you are right. Greg, ignore that patch, I'll make a better one.

	Regards
		Oliver

--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux