dthelp: compiler warning and coverity warning fixes
[oweals/cde.git] / cde / programs / dthelp / parser / pass2 / util / fclndir.c
index 92ea423f4020096cf75d47934cd7ab9af80bff83..9599a43a8aab6c83457e959afe38ce63f50476d9 100644 (file)
@@ -144,6 +144,7 @@ void copyfile(pfile1,pfile2)
        ret = system(pcmd);
        ret = snprintf(pcmd, slen, "touch %s",pfile2);
        ret = system(pcmd);
+       free(pcmd);
 }
 
 int nextchar(file, data)