diff options
Diffstat (limited to 'src/ConfigData.cxx')
-rw-r--r-- | src/ConfigData.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ConfigData.cxx b/src/ConfigData.cxx index 611c5b91a..65cb63c97 100644 --- a/src/ConfigData.cxx +++ b/src/ConfigData.cxx @@ -58,12 +58,11 @@ block_param::GetBoolValue() const } config_param::config_param(const char *_value, int _line) - :next(nullptr), value(g_strdup(_value)), line(_line) {} + :next(nullptr), value(_value), line(_line) {} config_param::~config_param() { delete next; - g_free(value); } const block_param * |