summaryrefslogtreecommitdiffstats
path: root/src/serialisation/Serialiser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialisation/Serialiser.cpp')
-rw-r--r--src/serialisation/Serialiser.cpp5
1 files changed, 5 insertions, 0 deletions
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<Shared::Store> store)
: me(new Impl(world, store))
{}
+Serialiser::~Serialiser()
+{
+ delete me;
+}
+
void
Serialiser::to_file(SharedPtr<const GraphObject> object,
const std::string& filename)