fix a number of memory leaks

- some were with libav functions
- same were due to non-virtual destructors
This commit is contained in:
Chris Kirmse
2019-05-08 14:53:23 -07:00
parent 17a2258939
commit 833fcb8e8e
20 changed files with 63 additions and 30 deletions

View File

@@ -29,6 +29,9 @@
using namespace openshot;
ClipBase::~ClipBase() {
}
// Generate Json::JsonValue for this object
Json::Value ClipBase::JsonValue() {
@@ -108,4 +111,4 @@ Json::Value ClipBase::add_property_choice_json(string name, int value, int selec
// return JsonValue
return new_choice;
}
}