Commit e396ee6d authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Replace myStrDup with strdup in input file class.

parent 759722be
......@@ -3,7 +3,6 @@
#include "cdi.h"
#include "dmemory.h"
#include "proprietarySystemWorkarounds.h"
#include <errno.h>
#include <fcntl.h>
......@@ -21,7 +20,7 @@ static CdiInputFile* cdiInputFile_condestruct(CdiInputFile* me, const char* path
#define super() (&me->super)
if(!path) goto destruct;
cdiRefObject_construct(super());
me->path = myStrDup(path);
me->path = strdup(path);
if(!me->path) goto destructSuper;
do
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment