Messages in this thread | | | Date | Tue, 23 Sep 2003 11:02:19 -0700 | From | Chris Wright <> | Subject | Re: [CHECKER] 32 Memory Leaks on Error Paths |
| |
* Stephen Smalley (sds@epoch.ncsc.mil) wrote: > Sorry for the duplicated effort, but I had already written up a patch > prior to the hurricane, but didn't get it sent out. I believe that the > patch below fixes the legitimate leaks in the SELinux code. In some > cases, it rearranges the code (moving the allocation later to reduce the > need for further cleanup or linking the object into a containing > structure earlier so that the policydb_destroy will handle it upon any > subsequent errors).
No problem, your patch looks better anyway ;-) -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - 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/
| |