]> sourceware.org Git - lvm2.git/commit
Add missing test for failed pool allocation
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 30 Nov 2010 22:23:35 +0000 (22:23 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 30 Nov 2010 22:23:35 +0000 (22:23 +0000)
commit5dcb17df6706f42deacabb0606d94f684bea9139
treeb7e58020473bd3daba371fd27a882cde90eb2739
parent5b94a875897aff03250d361575914bac046dc123
Add missing test for failed pool allocation

Add test for NULL from dm_poll_create.
Reorder dm_pool_destroy() before file close and add label out:.
Avoid leaking file descriptor if the allocation fails.
WHATS_NEW
lib/config/config.c
This page took 0.030067 seconds and 5 git commands to generate.