diff options
author | George Lebl <jirka@5z.com> | 2000-06-18 01:11:12 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2000-06-18 01:11:12 +0000 |
commit | 3298f01fc455741ed6ab69a0e3e15177f704c90d (patch) | |
tree | 1bbcb18b35c57aec8211a63b323d250bcae8ddaa | |
parent | dabfa6610d144d1cdb5e29c5647548ce8d3bd350 (diff) | |
download | yelp-3298f01fc455741ed6ab69a0e3e15177f704c90d.tar.gz |
Use g_free on the node as it has been allocated with g_mallocNAUTILUS_0_1_0NAUTILUS-NEW-UIH-BRANCH_ANCHOREAZEL_NAUTILUS_DEMO_2_ANCHOREAZEL_DEMO_1_ANCHOREAZEL-NAUTILUS-MS-JULY_5EAZEL-NAUTILUS-MS-JUL12EAZEL-NAUTILUS-MS-AUG07EAZEL-NAUTILUS-DEMO-BLESSEDnautilus-new-uih-brancheazel-nautilus-demo-2eazel-demo-1eazel-demo-0
Sat Jun 17 18:07:19 2000 George Lebl <jirka@5z.com>
* gnome-info2html2/main.c (main): Use g_free on the node as it
has been allocated with g_malloc
* gnome-man2html2/gnome-man2html.c (scan_format): Patch from gnome
bug number 3925. From the description: Briefly, gnome-man2html
doesn't notice when the format lines in table declarations end if
the last thing in the format specification is a font command.
-rw-r--r-- | src/info2html/main.c | 2 | ||||
-rw-r--r-- | src/man2html/yelp-man2html.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/info2html/main.c b/src/info2html/main.c index e6fa0a0f..bf3d17b5 100644 --- a/src/info2html/main.c +++ b/src/info2html/main.c @@ -213,7 +213,7 @@ main(int argc, char **argv) if ( node->contents ) free(node->contents); - free(node); + g_free(node); BaseFilename = NULL; } } diff --git a/src/man2html/yelp-man2html.c b/src/man2html/yelp-man2html.c index 47993248..2db37daf 100644 --- a/src/man2html/yelp-man2html.c +++ b/src/man2html/yelp-man2html.c @@ -1054,7 +1054,7 @@ static char c++; curfield->font = toupper(*c); c++; - if (!isspace(*c)) c++; + if (!isspace(*c) && *c!='.') c++; break; case 't': case 'T': curfield->valign='t'; c++; break; case 'p': case 'P': |