Re: [Linux-ia64] [PATCH] pfm_smpl_buffer_alloc needs to free vma on error

From: Stephane Eranian <>
Date: 2002-08-30 12:12:40
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.


Received on Thu Aug 29 19:13:36 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST