X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Finfocmp.c;h=e0ef1d2a88e8512e95682f4345f597a82739f5cd;hp=932063e586a832fbde9ef44e7254901d50235593;hb=2639531af0c3ca25b48e7bcb9c790fa566cc5892;hpb=c6abbc3dd08d8a749098dc1674ce6ec65d844e86;ds=sidebyside diff --git a/progs/infocmp.c b/progs/infocmp.c index 932063e5..e0ef1d2a 100644 --- a/progs/infocmp.c +++ b/progs/infocmp.c @@ -41,7 +41,7 @@ #include -MODULE_ID("$Id: infocmp.c,v 1.86 2007/01/21 01:09:07 tom Exp $") +MODULE_ID("$Id: infocmp.c,v 1.88 2007/04/07 17:07:30 tom Exp $") #define L_CURL "{" #define R_CURL "}" @@ -96,8 +96,7 @@ ExitProgram(int code) while (termcount-- > 0) _nc_free_termtype(&entries[termcount].tterm); _nc_leaks_dump_entry(); - _nc_leaks_tic(); - _nc_free_and_exit(code); + _nc_free_tic(code); } #endif @@ -1084,7 +1083,6 @@ dump_initializers(TERMTYPE *term) } *tp++ = '"'; *tp = '\0'; - size += (strlen(term->Strings[n]) + 1); (void) printf("static char %-20s[] = %s;\n", string_variable(ExtStrname(term, n, strnames)), buf); }