#include "copyrigh.h" #include "image.h" #include "spx_img.h" char *DupString(LOAD_Structure *loadS, char *s) { char *d; if (!s) return(NULL); d= (char *)loadS->memory.malloc(strlen(s) + 1); if (d) strcpy(d, s); else d = s; return(d); }