Touched all files
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
xlHtml ChangeLog
|
||||
|
||||
|
||||
0.4.9.4
|
||||
*Fixed some memory leaks
|
||||
*Increased file name limit to 256 characters
|
||||
|
||||
0.4.9.3 03/19/02
|
||||
*Began code modularization
|
||||
*Changed pointers to xlhtml web site
|
||||
|
@@ -10,7 +10,7 @@ void print_version(void)
|
||||
{
|
||||
printf("xlhtml %s \nCopyright (c) 1999-2002, Charles Wyble\n"
|
||||
"Released under GPL.\n", VERSION );
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
void display_usage(void)
|
||||
|
@@ -368,12 +368,10 @@ int main (int argc, char **argv)
|
||||
if (strcmp(filename, "-v") == 0)
|
||||
{
|
||||
print_version();
|
||||
exit(0);
|
||||
}
|
||||
if (strcmp(filename, "--version") == 0)
|
||||
{
|
||||
print_version();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (strcmp(filename, "--help") == 0)
|
||||
@@ -516,13 +514,18 @@ int main (int argc, char **argv)
|
||||
free(ws_array[i]);
|
||||
}
|
||||
}
|
||||
|
||||
free(xf_array);
|
||||
free(font_array);
|
||||
free(f_cnt);
|
||||
free(str_array);
|
||||
free(ws_array);
|
||||
|
||||
for (i=0; i<(int)max_xformats; i++)
|
||||
{
|
||||
if (xf_array[i])
|
||||
free(xf_array[i]);
|
||||
}
|
||||
free(xf_array);
|
||||
|
||||
if (numCustomColors)
|
||||
{
|
||||
@@ -540,8 +543,6 @@ int main (int argc, char **argv)
|
||||
if (lastUpdated)
|
||||
free(lastUpdated);
|
||||
|
||||
free(str_array);
|
||||
free(ws_array);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -4561,3 +4562,4 @@ void OutputPartialTableAscii(void)
|
||||
printf("\n\n"); /* End of Table 2 LF-CR */
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -121,3 +121,4 @@ static char SectionName[2][12] = /* The section of the Excel Stream where the wo
|
||||
"/Workbook", /*!< Excel 97 & 2000 */
|
||||
"/Book" /*!< Everything else ? */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user