From 4cc5c82a87cf2316f425a9ea1de0fb29d0c24c8e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Sep 2011 23:51:44 +0000 Subject: Fix memory leaks and errors. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3482 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/Serialiser.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/serialisation') diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index 4a69d597..22632810 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -124,6 +124,11 @@ Serialiser::Serialiser(Shared::World& world, SharedPtr store) : me(new Impl(world, store)) {} +Serialiser::~Serialiser() +{ + delete me; +} + void Serialiser::to_file(SharedPtr object, const std::string& filename) -- cgit v1.2.1