diff options
Diffstat (limited to '')
-rw-r--r-- | src/decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decode.c b/src/decode.c index 1cfa03e5a..b25cff105 100644 --- a/src/decode.c +++ b/src/decode.c @@ -264,7 +264,7 @@ static void decodeStart(PlayerControl * pc, OutputBuffer * cb, if (isRemoteUrl(pc->utf8url)) path = utf8StrToLatin1Dup(pc->utf8url); else - path = strdup(rmp2amp(utf8ToFsCharset(pc->utf8url))); + path = xstrdup(rmp2amp(utf8ToFsCharset(pc->utf8url))); if (!path) { dc->error = DECODE_ERROR_FILE; @@ -304,7 +304,7 @@ static void decodeStart(PlayerControl * pc, OutputBuffer * cb, /*if(inStream.metaName) { MpdTag * tag = newMpdTag(); - tag->name = strdup(inStream.metaName); + tag->name = xstrdup(inStream.metaName); copyMpdTagToOutputBuffer(cb, tag); freeMpdTag(tag); } */ |