aboutsummaryrefslogtreecommitdiff
path: root/src/ConfigData.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/ConfigData.cxx')
-rw-r--r--src/ConfigData.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ConfigData.cxx b/src/ConfigData.cxx
index 7e16c012..48e9612d 100644
--- a/src/ConfigData.cxx
+++ b/src/ConfigData.cxx
@@ -32,10 +32,11 @@ extern "C" {
#include <stdlib.h>
config_param::config_param(const char *_value, int _line)
- :value(g_strdup(_value)), line(_line) {}
+ :next(nullptr), value(g_strdup(_value)), line(_line) {}
config_param::~config_param()
{
+ delete next;
g_free(value);
}