linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bep poiner
@ 2003-07-25  0:41 Joilnen Leite
  2003-07-30 20:15 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Joilnen Leite @ 2003-07-25  0:41 UTC (permalink / raw)
  To: linux-usb-users; +Cc: linux-kernel

Excuse me friends if I am simpler but,
in auerbuf_setup function bep pointer is not free, I
guess
maybe it is better ?

--- /usr/src/linux/drivers/usb/misc/auerswald.c
2003-07-02 14:07:48.000000000 -0300
+++ drivers/usb/misc/auerswald.c	2003-07-24
18:27:44.000000000 -0300
@@ -802,6 +802,8 @@
 bl_fail:/* not enough memory. Free allocated elements
*/
         dbg ("auerbuf_setup: no more memory");
         auerbuf_free_buffers (bcp);
+	if(bep)
+		kfree(bep);
         return -ENOMEM;
 }
  
thanks !


_______________________________________________________________________
Conheça o novo Cadê? - Rápido, fácil e preciso.
42 milhões de páginas brasileiras, busca por imagens e muito mais!
http://www.cade.com.br

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bep poiner
  2003-07-25  0:41 bep poiner Joilnen Leite
@ 2003-07-30 20:15 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-07-30 20:15 UTC (permalink / raw)
  To: Joilnen Leite; +Cc: linux-usb-users, linux-kernel

On Thu, Jul 24, 2003 at 09:41:51PM -0300, Joilnen Leite wrote:
> Excuse me friends if I am simpler but,
> in auerbuf_setup function bep pointer is not free, I
> guess
> maybe it is better ?

Thanks, I've applied this fix.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-30 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25  0:41 bep poiner Joilnen Leite
2003-07-30 20:15 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).