On Fri, Aug 30, 2002 at 11:33:17AM +1000, Kingsley Cheung wrote: > Hi David, > > In 2.4.19, arch/ia64/kernel/perfmon.c, I noticed that > pfm_smpl_buffer_alloc doesn't seem to be freeing the vma structure it > allocates if there's an error. Here's a trivial patch to fix it: > Yes, you are right. I have generated a similar patch with the labels slightly renamed. Note that the patch also fixes another problem with read_unlock() in the same function. Thanks for spotting this. -- -Stephane