aboutsummaryrefslogtreecommitdiff
path: root/src/ConfigData.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 22:37:17 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 22:39:24 +0100
commit378ebad1c8d7079b41319600f13c1c884d6c693a (patch)
treef65564ce3a0fffde7fd0bdbf1c9040de3a15041e /src/ConfigData.cxx
parente44e0fab9f0851d5a369778923c03701e31b9e79 (diff)
ConfigData: use simple linked list instead of GSList
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);
}