]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/FileStore.cc: fix realloc memory leak in error case
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 8 Feb 2013 15:54:33 +0000 (16:54 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sun, 10 Feb 2013 09:05:05 +0000 (10:05 +0100)
commitc92a0f552587a232f66620170660d6b2ab6fb3a5
treee09876ac6dc7a66f3358e1b762467b113df83817
parentf26f1470e7af36fa1eb8dc59c8a7c62c3c3a22ba
os/FileStore.cc: fix realloc memory leak in error case

Fix error from cppcheck:

[src/os/FileStore.cc:512]: (error) Common realloc mistake: 'fiemap'
  nulled but not freed upon failure

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/os/FileStore.cc