--- libaitio/src/aitio.c 2012/07/03 08:51:05 1.11 +++ libaitio/src/aitio.c 2012/08/02 00:47:47 1.12 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.c,v 1.11 2012/07/03 08:51:05 misho Exp $ +* $Id: aitio.c,v 1.12 2012/08/02 00:47:47 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -474,7 +474,7 @@ ioStrAst(const char *csString) io_Errno = EINVAL; return NULL; } else { - str = strdup(strchr(csString, '{') + 1); + str = io_strdup(strchr(csString, '{') + 1); *strrchr(str, '}') = 0; } @@ -496,7 +496,7 @@ ioStrAst(const char *csString) /* ok, clear show */ ext = str; - out = strdup(ext); + out = io_strdup(ext); io_free(str); return out; @@ -519,7 +519,7 @@ ioMkDir(const char *csDir, int mode) if (!csDir) return cx; - str = strdup(csDir); + str = io_strdup(csDir); if (!str) { LOGERR; return cx;