summaryrefslogtreecommitdiff
path: root/src/memchecker.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-02-09 13:09:26 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 13:09:26 +0100
commiteddcef9d4b81041e883626044d9dae81f8d8d9d9 (patch)
treea040a86672f060b0ee7b0b476a30426bdc4ccb8a /src/memchecker.cc
parent0a2b49267f9002c7289e60654203e9b108c06f73 (diff)
Fix two valgrind errors and mark three others with a TODO comment.
Diffstat (limited to 'src/memchecker.cc')
-rw-r--r--src/memchecker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memchecker.cc b/src/memchecker.cc
index 8c8c183..8277212 100644
--- a/src/memchecker.cc
+++ b/src/memchecker.cc
@@ -87,7 +87,7 @@ uint64_t MemChecker::calcNeededMemory(const DrumKit& drumkit) const
uint64_t MemChecker::calcBytesPerChannel(const std::string& filename) const
{
- SF_INFO sf_info;
+ SF_INFO sf_info{};
SNDFILE* f = sf_open(filename.c_str(), SFM_READ, &sf_info);
if(!f)