aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-08-09 05:17:30 +0000
committerlloyd <[email protected]>2006-08-09 05:17:30 +0000
commitd422edce55ae5208feb2dc6d4abe1703493fe896 (patch)
treeedc0920783f0a84441757a5e47b5afdb8c1130f8 /src/libstate.cpp
parentf0b0fc8c01c442221ff9442d3792c4a8a408dfdb (diff)
Remove memory leak - the configuration object was not being deleted.
Diffstat (limited to 'src/libstate.cpp')
-rw-r--r--src/libstate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstate.cpp b/src/libstate.cpp
index 8c183c4f7..1bb27e74a 100644
--- a/src/libstate.cpp
+++ b/src/libstate.cpp
@@ -353,6 +353,7 @@ Library_State::~Library_State()
delete transcoder;
delete rng;
delete timer;
+ delete config_obj;
std::for_each(entropy_sources.begin(), entropy_sources.end(),
del_fun<EntropySource>());