[PATCH Linux-2.6.8-rc2] prism54 Fix memory leaks
From: Margit Schubert-While <hidden>
Date: 2004-08-06 11:24:01
2004-08-06 Margit Schubert-While [off-list ref] * Change the "version" OID to what it should be. * * Fix memory leaks - mgt_get_request always returns * allocated memory for non-int OIDS (with an exception - * keep reading). If the caller checks the return and itself * returns, then it must free memory. * However, it is possible to return from mgt_get_request * early (!priv->mib). In this case, weird things can happen * in isl_ioctl. Quick fix, at least to force an oops, is * to set the union value to NULL. The real fix is to * recode all mgt_get_request calls in isl_ioctl. Jeff, have had no response to patch "Fix IRQ handling" from 2004-07-30. Margit Margit