]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
SyntheticClient.cc: fix some memory leaks in the error handling
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 8 Feb 2013 16:14:19 +0000 (17:14 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sun, 10 Feb 2013 09:05:06 +0000 (10:05 +0100)
commitf0ba80756d1c3c313014ad7be18191981fb545be
tree847a901e7c6999bf6368b8a242f8aca28e719d4a
parente6591db6dc0a35ece8498e96f1dd04519007a555
SyntheticClient.cc: fix some memory leaks in the error handling

Fix some memory leaks in case of error handling due to failed
client->open() calls.

Error from cppcheck was:
[src/client/SyntheticClient.cc:1980]: (error) Memory leak: buf
[src/client/SyntheticClient.cc:2040]: (error) Memory leak: buf
[src/client/SyntheticClient.cc:2090]: (error) Memory leak: buf
src/client/SyntheticClient.cc