Update of /cvsroot/alsa/alsa-kernel/isa/cs423x In directory sc8-pr-cvs1:/tmp/cvs-serv30969
Modified Files: cs4236.c Log Message: Fixed memory leak Index: cs4236.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/isa/cs423x/cs4236.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- cs4236.c 9 May 2003 14:07:24 -0000 1.33 +++ cs4236.c 10 Jun 2003 14:30:09 -0000 1.34 @@ -281,6 +281,9 @@ struct pnp_resource_table * cfg = kmalloc(sizeof(struct pnp_resource_table), GFP_KERNEL); int err; + if (!cfg) + return -ENOMEM; + acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); if (acard->wss == NULL) { kfree(cfg); ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog