summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-api')
-rw-r--r--opentrack-api/context.cpp2
1 files changed, 2 insertions, 0 deletions
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<opentrack_meta> 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))