summaryrefslogtreecommitdiff
path: root/src/lib/filter.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-12-20 00:35:11 +0100
committerCarl Hetherington <cth@carlh.net>2022-04-29 00:45:40 +0200
commit78ca79cde19db630b1abfe8f00f49e87bb7e4068 (patch)
tree162e17e2413e57e10cf841212c5d29b9ff97b400 /src/lib/filter.h
parentf25061b8a6f35e490b731caefe63560045b10a1f (diff)
Fix a load of stuff that wasn't being freed on close.
Nothing really that important, but it cleans up the valgrind leak check reports.
Diffstat (limited to 'src/lib/filter.h')
-rw-r--r--src/lib/filter.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/filter.h b/src/lib/filter.h
index 3c2a49792..f73a95453 100644
--- a/src/lib/filter.h
+++ b/src/lib/filter.h
@@ -44,9 +44,6 @@ class Filter
public:
Filter (std::string i, std::string n, std::string c, std::string f);
- Filter (Filter const&) = delete;
- Filter& operator= (Filter const&) = delete;
-
/** @return our id */
std::string id () const {
return _id;
@@ -82,7 +79,7 @@ private:
std::string _ffmpeg;
/** all available filters */
- static std::vector<Filter const *> _filters;
+ static std::vector<Filter> _filters;
static void maybe_add (std::string, std::string, std::string, std::string);
};