]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code/shec/shec.cc: fix resource leak
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 24 Feb 2015 09:50:11 +0000 (10:50 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 24 Feb 2015 09:50:11 +0000 (10:50 +0100)
commit0be126d5f23a187f122a5787188f24f3f5cd4183
tree5547f87cc34cb5ac9d4b64febe5ae6409df7d342
parent50b69e7190f57e06f02b8b22973966a14e5abc8d
erasure-code/shec/shec.cc: fix resource leak

Free tmpmat in error case. Fix for:

[src/erasure-code/shec/shec.cc:176]: (error) Memory leak: tmpmat

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