aboutsummaryrefslogtreecommitdiffstats
path: root/src/cue/CueParser.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cue/CueParser.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cue/CueParser.cxx b/src/cue/CueParser.cxx
index 7a226c849..b9927f5e2 100644
--- a/src/cue/CueParser.cxx
+++ b/src/cue/CueParser.cxx
@@ -19,13 +19,12 @@
#include "config.h"
#include "CueParser.hxx"
+#include "util/Alloc.hxx"
#include "util/StringUtil.hxx"
#include "util/CharUtil.hxx"
#include "Song.hxx"
#include "tag/Tag.hxx"
-#include <glib.h>
-
#include <assert.h>
#include <string.h>
#include <stdlib.h>
@@ -290,9 +289,9 @@ CueParser::Feed(const char *line)
assert(!end);
assert(line != nullptr);
- char *allocated = g_strdup(line);
+ char *allocated = xstrdup(line);
Feed2(allocated);
- g_free(allocated);
+ free(allocated);
}
void