diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-12-20 00:35:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-12-23 12:59:56 +0100 |
| commit | a7f61a15fc974feaff1554bd5322650676a63c51 (patch) | |
| tree | a94f18afc7b1083bc46cb2ba901d889d6d5ccb63 /src/lib/filter.h | |
| parent | 607a824efbcb0ae9d5b664e919ae983224e712a0 (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.h | 5 |
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); }; |
