style_file, bookCaseName, bookCaseName);
runShellCmd(cmd);
- XtFree((char*)style_file);
-
snprintf(cmd, sizeof(cmd), "rm -f %s", style_file);
ret1 = system(cmd);
if(ret1 != 0) die(-1, "system for rm failed; exiting...\n");
+ XtFree((char*)style_file);
}
compress_file, bookCaseName, bookCaseName);
runShellCmd(cmd);
- XtFree((char*)compress_file);
-
snprintf(cmd, sizeof(cmd), "rm -f %s", compress_file);
ret1 = system(cmd);
if(ret1 != 0) die(-1, "system for rm failed; exiting...\n");
+ XtFree((char*)compress_file);
}
runShellCmd(cmd);
- XtFree((char*)anonym_file);
-
snprintf(cmd, sizeof(cmd), "rm -f %s", anonym_file);
ret1 = system(cmd);
if(ret1 != 0) die(-1, "system for rm failed; exiting...\n");
+ XtFree((char*)anonym_file);
}
validateBookCase(bookCaseMap, bookCaseName);
nsgmls_file, tocOpt, dbName, dirName, tmpFile);
runShellCmd(cmd);
- XtFree((char*)nsgmls_file);
-
cmd = buildPath("rm -f %s", nsgmls_file);
ret = system(cmd);
if(ret != 0) die(-1, "system for rm failed; exiting...\n");
+ XtFree((char*)nsgmls_file);
}
XtFree(cmd);