From 50a101da6278f40e2c3a13234078b4404a99d718 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 30 Oct 2013 23:24:27 +0100 Subject: plug in memleak in api Signed-off-by: Stanislaw Halik --- opentrack-api/context.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opentrack-api') diff --git a/opentrack-api/context.cpp b/opentrack-api/context.cpp index 84089c43..eb5b8a58 100644 --- a/opentrack-api/context.cpp +++ b/opentrack-api/context.cpp @@ -46,6 +46,8 @@ static QList list_files(QString filter) delete lib; continue; } + /* TODO perhaps return full name and somesuch */ + delete meta; QString prefix(LIB_PREFIX + filter); QString suffix("." SONAME); if (str.size() > prefix.size() + suffix.size() && str.startsWith(prefix) && str.endsWith(suffix)) -- cgit v1.2.3