[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH 3/3] Destroy 'fic' memory in error path



On 02/23/2011 02:52 PM +0100, Zdenek Kabelac wrote:
> +			fid->fmt->ops->destroy_instance(fid);

...and I'll send a patch that adds the content to destroy_instance
since it's pure void now :)

Also, we need to add destroy_instance everywhere where necessary
throughout the code. We haven't used this call before because we
relied on automatic mempool deallocation mostly.

Peter


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]