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

Peter Rajnoha prajnoha at redhat.com
Wed Feb 23 14:14:40 UTC 2011


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




More information about the lvm-devel mailing list