lkml.org 
[lkml]   [2003]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectbep poiner
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.065 / U:4.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site