]> sourceware.org Git - lvm2.git/commit
Minor memory leak fix
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 4 Aug 2011 12:40:24 +0000 (12:40 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 4 Aug 2011 12:40:24 +0000 (12:40 +0000)
commit5dfa0945cb45b5b5b6658e81fa56e1ff570e0953
treebed2e18592896bdb3fdbdd6fe383d1b09648943e
parentfb2f985dfe55d3bd0522850899181ca92802469d
Minor memory leak fix

Defer the test of the function return value after the string memory is released.
Otherwise in this error path the string would present memory leak.
(Thought in this case we are already out of memory...)
WHATS_NEW
tools/dmsetup.c
This page took 0.0363 seconds and 5 git commands to generate.