[Prism54-devel] [PATCH Linux-2.6.8-rc2] prism54 Fix memory leaks
Margit Schubert-While
margitsw at t-online.de
Fri Aug 6 11:24:01 UTC 2004
2004-08-06 Margit Schubert-While <margitsw at t-online.de>
* 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memleak.patch
Type: text/x-diff
Size: 2002 bytes
Desc: not available
Url : http://prism54.org/pipermail/prism54-devel/attachments/20040806/fa0960d1/memleak.bin
More information about the Prism54-devel
mailing list