From 78ca79cde19db630b1abfe8f00f49e87bb7e4068 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 20 Dec 2021 00:35:11 +0100 Subject: 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. --- src/lib/filter.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/lib/filter.h') 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 _filters; + static std::vector _filters; static void maybe_add (std::string, std::string, std::string, std::string); }; -- cgit v1.2.3