From eddcef9d4b81041e883626044d9dae81f8d8d9d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Tue, 9 Feb 2016 13:09:26 +0100 Subject: Fix two valgrind errors and mark three others with a TODO comment. --- src/memchecker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/memchecker.cc') 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) -- cgit v1.2.3