Messages in this thread Patch in this message | | | Date | Thu, 24 Jul 2003 21:41:51 -0300 (ART) | From | Joilnen Leite <> | Subject | bep 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/
| |