]> sourceware.org Git - lvm2.git/commit
Fix memory leak in filter creation error path
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 6 Jan 2011 15:29:24 +0000 (15:29 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 6 Jan 2011 15:29:24 +0000 (15:29 +0000)
commitb2c682e462f7f40cfaedc2314b547203996b7b2b
tree7376b0d15d463432e6b1b7ba8a6e785c37dd9edd
parentff4a77c5ca4cb04d0250163e52f93e5a8c218162
Fix memory leak in filter creation error path

If some allocation for peristent filter fails its memory reference
was lost, fix it by calling filter's destructor.

Fix log_error messages for failing allocation.
WHATS_NEW
lib/commands/toolcontext.c
lib/filters/filter-persistent.c
This page took 0.035924 seconds and 5 git commands to generate.