On Wed, Jul 26, 2017 at 05:18:57AM -0400, Thomas Dickey wrote: > On Tue, Jul 25, 2017 at 01:19:16PM +0300, Alexander V. Lukyanov wrote: > > On Tue, Jul 25, 2017 at 04:55:54AM -0400, Thomas Dickey wrote: > > > > > e) fix a different fail-to-build with the opaque TERMTYPE > > > > > > > > I don't see how these lines are equivalent: > > > > > > > > - TERMTYPE *tp = &cur_term->type; > > > > + TERMTYPE *tp = (TERMTYPE *)(&cur_term); > > > > > > They're the same because the first member of TERMINAL happens to be > > > a TERMTYPE, and since TERMINAL is opaque in current code (so you > > > cannot refer to the "type" member any longer). > > > > But shouln't it be (TERMTYPE *)(cur_term) ? > > hmm - I agree that doesn't look right (the problem with casts). > I'm surprised it worked.
attaching an improved patch (with some additional compiler-warning fixes) sadly enough, either way the cast gives no warnings, and the program appears to run. also attaching a copy of valgrind log from running the program with the _nc_free_and_exit function turned on (just from opening a file, looking at some menus and quitting - ymmv). > > Is there a new function or macro to get current TERMTYPE, so that I could > > use it if available? > > Not syntactically the same. This is what I use in term.h: > > /* The cast works because TERMTYPE is the first data in TERMINAL */ > #define CUR ((TERMTYPE *)(cur_term))-> I'm reluctant to add a new function for accessing things that "should" just work: the definitions in term.h are the defined interface, and providing a function to access those in a different way doesn't seem a good solution. Of course, if that structure hadn't happened to be first in TERMINAL, I'd have had to provide a function, just to keep TERMINAL opaque. Since I'm keeping binary compatibility (aside from preventing applications from knowing how large TERMINAL is), it's good enough for now. -- Thomas E. Dickey <dic...@invisible-island.net> http://invisible-island.net ftp://invisible-island.net
# ftp://invisible-island.net/temp/le-1.16.3-fix2.patch.gz # patch by Thomas E. Dickey <dic...@invisible-island.net> # created Sun Jul 30 21:45:33 UTC 2017 # ------------------------------------------------------------------------------ # color.cc | 6 +++--- # edit.cc | 26 ++++++++++++++++++-------- # keymap.cc | 4 ++-- # keynames.cc | 2 +- # make-mainmenu.pl | 2 +- # regex.c | 10 ++++++++-- # 6 files changed, 33 insertions(+), 17 deletions(-) # ------------------------------------------------------------------------------ Index: src/color.cc --- le-1.16.3/src/color.cc 2013-03-18 13:44:31.000000000 +0000 +++ le-1.16.3-fix2/src/color.cc 2017-07-22 12:42:26.000000000 +0000 @@ -33,7 +33,7 @@ int can_use_default_colors; int next_pair; -static int find_pair(int fg,int bg) +static int find_or_init_pair(int fg,int bg) { if(!can_use_default_colors) { @@ -67,7 +67,7 @@ attr_table[an].n_attr=0; if(pal[i].fg!=NO_COLOR || pal[i].bg!=NO_COLOR) { - pair=find_pair(pal[i].fg,pal[i].bg); + pair=find_or_init_pair(pal[i].fg,pal[i].bg); attr_table[an].n_attr|=COLOR_PAIR(pair); } attr_table[an].n_attr|=pal[i].attr; @@ -94,7 +94,7 @@ else { attr_table[i].so_attr=(attr_table[i].n_attr|hl->attr)&~A_COLOR; - pair=find_pair(hl->fg,pal[p].bg); + pair=find_or_init_pair(hl->fg,pal[p].bg); attr_table[i].so_attr|=COLOR_PAIR(pair); } } Index: src/edit.cc --- le-1.16.3/src/edit.cc 2015-12-03 07:15:40.000000000 +0000 +++ le-1.16.3-fix2/src/edit.cc 2017-07-22 13:15:35.000000000 +0000 @@ -53,6 +53,15 @@ # define fcntl(x,y,z) (0) #endif +#ifdef HAVE__NC_FREE_AND_EXIT +extern "C" { +extern void _nc_free_and_exit(int); +#define ExitProgram(code) _nc_free_and_exit(code) +}; +#else +#define ExitProgram(code) exit(code) +#endif + #include <alloca.h> #include "localcharset.h" @@ -385,7 +394,7 @@ if(le_scr==NULL) { fprintf(stderr,"le: newterm() failed. Check your $TERM variable.\n"); - exit(1); + ExitProgram(1); } #endif @@ -529,7 +538,7 @@ TermCurses(); - exit(0); + ExitProgram(0); } void PrintUsage(int arg) @@ -557,7 +566,7 @@ "\n" "The last file will be loaded. If no files specified, last readable file\n" "from history will be loaded if the path is relative or it is the last.\n"); - exit(1); + ExitProgram(1); } #if USE_MULTIBYTE_CHARS @@ -680,19 +689,19 @@ break; case('?'): fprintf(stderr,"%s: Try `%s --help' for more information\n",Program,argv[0]); - exit(1); + ExitProgram(1); case(DUMP_KEYMAP): WriteActionMap(stdout); - exit(0); + ExitProgram(0); case(DUMP_COLORS): DumpDefaultColors(stdout); - exit(0); + ExitProgram(0); case(PRINT_HELP): PrintUsage(0); - exit(0); + ExitProgram(0); case(PRINT_VERSION): PrintVersion(); - exit(0); + ExitProgram(0); case(USE_MMAP): opt_use_mmap=1; if(optView==-1) @@ -793,5 +802,6 @@ } Edit(); Terminate(); + ExitProgram(0); return 0; } Index: src/keymap.cc --- le-1.16.3/src/keymap.cc 2015-12-07 06:15:42.000000000 +0000 +++ le-1.16.3-fix2/src/keymap.cc 2017-07-30 21:34:03.024889800 +0000 @@ -58,8 +58,8 @@ const char *alias; int code; } ActionNameAliases[]={ - "quit-editor", A_ESCAPE, - 0 + { "quit-editor", A_ESCAPE }, + { 0 } }; enum Index: src/keynames.cc --- le-1.16.3/src/keynames.cc 2013-03-18 13:44:31.000000000 +0000 +++ le-1.16.3-fix2/src/keynames.cc 2017-07-30 21:24:15.015908829 +0000 @@ -353,7 +353,7 @@ if(!cur_term) return; - TERMTYPE *tp = &cur_term->type; + TERMTYPE *tp = (TERMTYPE *)(cur_term); if(!tp) return; if(NUM_STRINGS(tp)<=STRCOUNT) Index: src/make-mainmenu.pl --- le-1.16.3/src/make-mainmenu.pl 2015-12-03 06:30:58.000000000 +0000 +++ le-1.16.3-fix2/src/make-mainmenu.pl 2017-07-30 21:31:38.964730792 +0000 @@ -32,7 +32,7 @@ } elsif($type eq 'function') { die if !$action; $type='FUNC'.$hide; - print "{$text, FUNC$hide$options, $A},\n"; + print "{$text, FUNC$hide$options, { $A } },\n"; } elsif($type eq 'end') { print "{NULL},\n"; } elsif($type eq 'hline') { Index: src/regex.c --- le-1.16.3/src/regex.c 2013-03-18 13:44:31.000000000 +0000 +++ le-1.16.3-fix2/src/regex.c 2017-07-30 21:34:52.674322389 +0000 @@ -202,6 +202,10 @@ char *realloc (); # endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + /* When used in Emacs's lib-src, we need xmalloc and xrealloc. */ void * @@ -2152,7 +2156,7 @@ re_wctype (str) re_char *str; { - const char *string = str; + const char *string = (const char *)str; if (STREQ (string, "alnum")) return RECC_ALNUM; else if (STREQ (string, "alpha")) return RECC_ALPHA; else if (STREQ (string, "word")) return RECC_WORD; @@ -2742,7 +2746,7 @@ main_pend = pend; main_pattern = pattern; p = pattern = whitespace_regexp; - pend = p + strlen (p); + pend = p + strlen ((const char *) p); break; } @@ -4018,7 +4022,9 @@ /* If all elements for base leading-codes in fastmap is set, this flag is set true. */ +#ifdef emacs boolean match_any_multibyte_characters = false; +#endif assert (p);
==37943== Memcheck, a memory error detector ==37943== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==37943== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==37943== Command: ./le ==37943== --37943-- Valgrind options: --37943-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp --37943-- -v --37943-- --num-callers=10 --37943-- --error-limit=no --37943-- --show-reachable=yes --37943-- --leak-resolution=high --37943-- --track-origins=yes --37943-- --leak-check=yes --37943-- --show-reachable=yes --37943-- --log-fd=2 --37943-- Contents of /proc/version: --37943-- Linux version 3.2.0-4-amd64 (debian-ker...@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.89-2 --37943-- Arch and hwcaps: AMD64, amd64-sse3-cx16 --37943-- Page sizes: currently 4096, max supported 4096 --37943-- Valgrind library directory: /usr/lib/valgrind --37943-- Reading syms from /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le (0x400000) --37943-- Reading syms from /lib/x86_64-linux-gnu/ld-2.13.so (0x4000000) --37943-- Considering /lib/x86_64-linux-gnu/ld-2.13.so .. --37943-- .. CRC mismatch (computed cffc30bc wanted a3bcffa7) --37943-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so .. --37943-- .. CRC is valid --37943-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000) --37943-- Considering /usr/lib/valgrind/memcheck-amd64-linux .. --37943-- .. CRC mismatch (computed 917e6694 wanted d604052d) --37943-- Considering /usr/lib/debug/usr/lib/valgrind/memcheck-amd64-linux .. --37943-- .. CRC is valid --37943-- object doesn't have a dynamic symbol table --37943-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp --37943-- Reading suppressions file: /usr/lib/valgrind/default.supp ==37943== embedded gdbserver: reading from /var/tmp/vgdb-pipe-from-vgdb-to-37943-by-tom-on-vmw-debian7-64.jexium-island.net ==37943== embedded gdbserver: writing to /var/tmp/vgdb-pipe-to-vgdb-from-37943-by-tom-on-vmw-debian7-64.jexium-island.net ==37943== embedded gdbserver: shared mem /var/tmp/vgdb-pipe-shared-mem-vgdb-37943-by-tom-on-vmw-debian7-64.jexium-island.net ==37943== ==37943== TO CONTROL THIS PROCESS USING vgdb (which you probably ==37943== don't want to do, unless you know exactly what you're doing, ==37943== or are doing some strange experiment): ==37943== /usr/lib/valgrind/../../bin/vgdb --pid=37943 ...command... ==37943== ==37943== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==37943== /path/to/gdb ./le ==37943== and then give GDB the following command ==37943== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=37943 ==37943== --pid is optional if only one valgrind process is running ==37943== --37943-- REDIR: 0x4016b50 (strlen) redirected to 0x38061d67 (vgPlain_amd64_linux_REDIR_FOR_strlen) --37943-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a22000) --37943-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so .. --37943-- .. CRC mismatch (computed 2439aefb wanted 12795d6b) --37943-- Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_core-amd64-linux.so .. --37943-- .. CRC is valid --37943-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c24000) --37943-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so .. --37943-- .. CRC mismatch (computed 765bf264 wanted b7bd9c2d) --37943-- Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so .. --37943-- .. CRC is valid --37943-- REDIR: 0x40169c0 (index) redirected to 0x4c29180 (index) --37943-- REDIR: 0x4016a40 (strcmp) redirected to 0x4c2a0a0 (strcmp) --37943-- Reading syms from /usr/lib/libncursesw6.so.6.0 (0x4e2f000) --37943-- object doesn't have a symbol table --37943-- Reading syms from /usr/lib/libtinfow6.so.6.0 (0x5076000) --37943-- object doesn't have a symbol table --37943-- Reading syms from /lib/x86_64-linux-gnu/libm-2.13.so (0x52ab000) --37943-- Considering /lib/x86_64-linux-gnu/libm-2.13.so .. --37943-- .. CRC mismatch (computed 25705a6c wanted 872899ef) --37943-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.13.so .. --37943-- .. CRC is valid --37943-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x552d000) --37943-- Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 .. --37943-- .. CRC mismatch (computed f44ca19e wanted 240e89d2) --37943-- object doesn't have a symbol table --37943-- Reading syms from /lib/x86_64-linux-gnu/libc-2.13.so (0x5743000) --37943-- Considering /lib/x86_64-linux-gnu/libc-2.13.so .. --37943-- .. CRC mismatch (computed b7a2ba06 wanted 413186b4) --37943-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.13.so .. --37943-- .. CRC is valid --37943-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.13.so (0x5ad0000) --37943-- Considering /lib/x86_64-linux-gnu/libdl-2.13.so .. --37943-- .. CRC mismatch (computed e3aeb4c7 wanted 7e185b4a) --37943-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.13.so .. --37943-- .. CRC is valid --37943-- REDIR: 0x57c67d0 (strcasecmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x57c8a90 (strncasecmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x57c4830 (__GI_strrchr) redirected to 0x4c28fa0 (__GI_strrchr) --37943-- REDIR: 0x57bcf20 (calloc) redirected to 0x4c27200 (calloc) --37943-- REDIR: 0x57c2760 (strcpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x5860360 (???) redirected to 0x4c29520 (strcpy) --37943-- REDIR: 0x57c2d10 (strlen) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x585ff20 (__strlen_sse42) redirected to 0x4c294e0 (strlen) --37943-- REDIR: 0x57c53e0 (memmove) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x5873790 (__memmove_ssse3_back) redirected to 0x4c2b530 (memmove) --37943-- REDIR: 0x57c47d0 (strncpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x5860d80 (???) redirected to 0x4c296c0 (strncpy) --37943-- REDIR: 0x57c1310 (__GI_strcmp) redirected to 0x4c2a050 (__GI_strcmp) --37943-- REDIR: 0x57c2d50 (__GI_strlen) redirected to 0x4c29500 (__GI_strlen) --37943-- REDIR: 0x57c2f80 (__GI_strncmp) redirected to 0x4c299d0 (__GI_strncmp) --37943-- REDIR: 0x57c1250 (__GI_strchr) redirected to 0x4c29080 (__GI_strchr) --37943-- REDIR: 0x57c4f30 (memchr) redirected to 0x4c2a140 (memchr) --37943-- REDIR: 0x57cc580 (strchrnul) redirected to 0x4c2b7d0 (strchrnul) --37943-- REDIR: 0x57bd9d0 (malloc) redirected to 0x4c28b80 (malloc) --37943-- REDIR: 0x57bd8f0 (free) redirected to 0x4c27ce0 (free) --37943-- REDIR: 0x57cb160 (memcpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x586e1f0 (__memcpy_ssse3_back) redirected to 0x4c2a620 (memcpy) --37943-- REDIR: 0x585b010 (__strcasecmp_sse42) redirected to 0x4c29a40 (strcasecmp) --37943-- REDIR: 0x57c2e30 (strnlen) redirected to 0x4c29480 (strnlen) --37943-- REDIR: 0x57c4800 (rindex) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x585a7f0 (__strrchr_sse42) redirected to 0x4c28f70 (rindex) --37943-- REDIR: 0x57c1220 (index) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x58586e0 (__strchr_sse42) redirected to 0x4c29040 (index) --37943-- REDIR: 0x57c12d0 (strcmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x5858790 (__strcmp_sse42) redirected to 0x4c2a000 (strcmp) --37943-- REDIR: 0xffffffffff600400 (???) redirected to 0x38061d5d (vgPlain_amd64_linux_REDIR_FOR_vtime) --37943-- REDIR: 0x57beab0 (realloc) redirected to 0x4c28c50 (realloc) --37943-- REDIR: 0x57d1c10 (strstr) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x585a990 (__strstr_sse42) redirected to 0x4c2bbd0 (strstr) --37943-- REDIR: 0x57c4fb0 (bcmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x587a950 (__memcmp_sse4_1) redirected to 0x4c2b0b0 (bcmp) --37943-- REDIR: 0x57c55d0 (memset) redirected to 0x4a22750 (_vgnU_ifunc_wrapper) --37943-- REDIR: 0x57c5610 (__GI_memset) redirected to 0x4c2b490 (memset) --37943-- REDIR: 0x57cc530 (__GI___rawmemchr) redirected to 0x4c2b820 (__GI___rawmemchr) --37943-- REDIR: 0x57c1060 (strcat) redirected to 0x4c291c0 (strcat) --37943-- REDIR: 0xffffffffff600000 (???) redirected to 0x38061d53 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) ==37943== Syscall param ioctl(TIOCLINUX) points to uninitialised byte(s) ==37943== at 0x5819FF7: ioctl (syscall-template.S:82) ==37943== by 0x411BAC: linux_process_key(int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x411B6C: GetKey(int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4192EE: GetNextAction() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C8D6: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== Address 0x7ff000191 is on thread 1's stack ==37943== Uninitialised value was created by a stack allocation ==37943== at 0x411B83: linux_process_key(int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== ==37943== HEAP SUMMARY: ==37943== in use at exit: 48,118 bytes in 955 blocks ==37943== total heap usage: 1,557 allocs, 602 frees, 1,129,617 bytes allocated ==37943== ==37943== Searching for pointers to 955 not-freed blocks ==37943== Checked 290,024 bytes ==37943== ==37943== 8 bytes in 1 blocks are still reachable in loss record 1 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x4C28D6F: realloc (vg_replace_malloc.c:632) ==37943== by 0x40B46F: cache_row(int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40B5E6: visualize_wchar(wchar_t) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4335EC: MBCheckAt(long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x421E6F: MBCheckRight() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x422E41: StatusLine() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x422DB8: ClearMessage() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C8C7: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 9 bytes in 1 blocks are still reachable in loss record 2 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413BDB: History::ReadFrom(_IO_FILE*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D138: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 9 bytes in 1 blocks are indirectly lost in loss record 3 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413709: HistoryLine::HistoryLine(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413517: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x416B4B: EmptyText() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D19F: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 9 bytes in 1 blocks are definitely lost in loss record 4 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4137E6: HistoryLine::HistoryLine(char const*, unsigned short) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41A7EF: LoadFile(char*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB12: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 9 bytes in 1 blocks are definitely lost in loss record 5 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413709: HistoryLine::HistoryLine(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413517: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41A800: LoadFile(char*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB12: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 9 bytes in 1 blocks are definitely lost in loss record 6 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4137E6: HistoryLine::HistoryLine(char const*, unsigned short) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x416B3A: EmptyText() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D19F: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 24 bytes in 1 blocks are indirectly lost in loss record 7 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413505: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x416B4B: EmptyText() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D19F: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 24 bytes in 1 blocks are indirectly lost in loss record 8 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413505: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41409B: InodeHistory::operator+=(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41B814: SavePosition() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x416BBA: EmptyText() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D19F: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 36 bytes in 1 blocks are indirectly lost in loss record 9 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413709: HistoryLine::HistoryLine(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413517: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41409B: InodeHistory::operator+=(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41B814: SavePosition() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x416BBA: EmptyText() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D19F: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 36 bytes in 1 blocks are definitely lost in loss record 10 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4137E6: HistoryLine::HistoryLine(char const*, unsigned short) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413ED6: InodeHistory::FindInodeIndex(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413FBF: InodeHistory::FindInode(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41A733: LoadFile(char*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB12: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 36 bytes in 1 blocks are definitely lost in loss record 11 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4137E6: HistoryLine::HistoryLine(char const*, unsigned short) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413ED6: InodeHistory::FindInodeIndex(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x414036: InodeHistory::operator+=(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41B814: SavePosition() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CE6B: AskToSave() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD7F: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 36 bytes in 1 blocks are definitely lost in loss record 12 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4137E6: HistoryLine::HistoryLine(char const*, unsigned short) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x414088: InodeHistory::operator+=(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41B814: SavePosition() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CE6B: AskToSave() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD7F: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 36 bytes in 1 blocks are definitely lost in loss record 13 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413709: HistoryLine::HistoryLine(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413517: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41409B: InodeHistory::operator+=(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41B814: SavePosition() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CE6B: AskToSave() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD7F: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 36 bytes in 1 blocks are definitely lost in loss record 14 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4137E6: HistoryLine::HistoryLine(char const*, unsigned short) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413ED6: InodeHistory::FindInodeIndex(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x414036: InodeHistory::operator+=(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41B814: SavePosition() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x416BBA: EmptyText() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D19F: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 36 bytes in 1 blocks are definitely lost in loss record 15 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4137E6: HistoryLine::HistoryLine(char const*, unsigned short) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x414088: InodeHistory::operator+=(InodeInfo const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41B814: SavePosition() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x416BBA: EmptyText() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D19F: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 40 bytes in 1 blocks are still reachable in loss record 16 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4185E6: BuildKeyTree(ActionCodeRec const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418A3C: RebuildKeyTree() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D181: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 64 bytes in 1 blocks are still reachable in loss record 17 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x42F554: CreateWin(int, int, unsigned int, unsigned int, attr const*, char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D045: InitMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D0A0: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 82 bytes in 9 blocks are still reachable in loss record 18 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x41CC18: FormatItemText(int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D079: InitMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D0A0: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 167 bytes in 15 blocks are indirectly lost in loss record 19 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413BDB: History::ReadFrom(_IO_FILE*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D138: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 176 bytes in 16 blocks are still reachable in loss record 20 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413BDB: History::ReadFrom(_IO_FILE*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D2BC: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 176 bytes in 16 blocks are still reachable in loss record 21 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413709: HistoryLine::HistoryLine(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413517: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41425E: History::operator+=(HistoryLine const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4139A6: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D317: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 176 bytes in 16 blocks are definitely lost in loss record 22 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413709: HistoryLine::HistoryLine(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413517: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41425E: History::operator+=(HistoryLine const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4139D5: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D317: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 192 bytes in 3 blocks are still reachable in loss record 23 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x42F554: CreateWin(int, int, unsigned int, unsigned int, attr const*, char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41CF37: CreateMenuWindow(int, int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41CEB8: CreateMenuWindow(int, int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D0B4: InitMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D0A0: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 288 bytes in 52 blocks are still reachable in loss record 24 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x57C2A81: strdup (strdup.c:43) ==37943== by 0x432610: MakeCodeNameTableExt() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x43270A: FindKeyCode(char const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418806: BuildKeyTree(ActionCodeRec const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418A3C: RebuildKeyTree() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D181: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 360 bytes in 15 blocks are indirectly lost in loss record 25 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413C3D: History::ReadFrom(_IO_FILE*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D138: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 384 bytes in 16 blocks are still reachable in loss record 26 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413C3D: History::ReadFrom(_IO_FILE*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D2BC: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 384 bytes in 16 blocks are still reachable in loss record 27 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413505: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41425E: History::operator+=(HistoryLine const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4139A6: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D317: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 542 bytes in 18 blocks are still reachable in loss record 28 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x41CC18: FormatItemText(int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41CFB8: CreateMenuWindow(int, int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41CEB8: CreateMenuWindow(int, int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D0B4: InitMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D0A0: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 576 bytes in 9 blocks are still reachable in loss record 29 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x42F554: CreateWin(int, int, unsigned int, unsigned int, attr const*, char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41CF37: CreateMenuWindow(int, int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D0B4: InitMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D0A0: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 672 bytes in 28 blocks are still reachable in loss record 30 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413C3D: History::ReadFrom(_IO_FILE*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D2A9: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 672 bytes in 28 blocks are indirectly lost in loss record 31 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413C3D: History::ReadFrom(_IO_FILE*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D127: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 696 bytes in 29 blocks are still reachable in loss record 32 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413505: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41425E: History::operator+=(HistoryLine const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4139A6: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D306: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 986 bytes in 28 blocks are still reachable in loss record 33 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413BDB: History::ReadFrom(_IO_FILE*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D2A9: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 986 bytes in 28 blocks are indirectly lost in loss record 34 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413BDB: History::ReadFrom(_IO_FILE*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D127: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 986 bytes in 28 blocks are definitely lost in loss record 35 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413709: HistoryLine::HistoryLine(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413517: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41425E: History::operator+=(HistoryLine const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4139D5: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D306: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,022 bytes in 29 blocks are still reachable in loss record 36 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x413238: memdup(char const*, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413709: HistoryLine::HistoryLine(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413517: History::operator+=(HistoryLine const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41425E: History::operator+=(HistoryLine const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4139A6: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D306: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 37 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB74: __static_initialization_and_destruction_0(int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB89: _GLOBAL__sub_I_Program (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x44690C: __libc_csu_init (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x5761E3F: (below main) (libc-start.c:203) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 38 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413895: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D339: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 39 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413895: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D34A: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 40 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x40B50F: cache_row(int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40B5E6: visualize_wchar(wchar_t) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4335EC: MBCheckAt(long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x421E6F: MBCheckRight() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x422E41: StatusLine() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x422DB8: ClearMessage() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C8C7: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 41 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DBB5: InodeHistory::InodeHistory() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D266: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 42 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D272: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 43 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D27E: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 44 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D28A: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 45 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D296: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 46 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413895: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D306: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 47 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413895: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D317: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are still reachable in loss record 48 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x413895: History::Merge(History const&) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D328: Terminate() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40CD8D: Quit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D624: ActivateMainMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42AFE8: UserMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C9BA: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,024 bytes in 1 blocks are definitely lost in loss record 49 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x427656: __static_initialization_and_destruction_0(int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x427689: _GLOBAL__sub_I_SearchHistory (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x44690C: __libc_csu_init (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x5761E3F: (below main) (libc-start.c:203) ==37943== ==37943== 1,024 bytes in 1 blocks are definitely lost in loss record 50 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42E660: __static_initialization_and_destruction_0(int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42E67F: _GLOBAL__sub_I__Z15UserDeleteToEolv (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x44690C: __libc_csu_init (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x5761E3F: (below main) (libc-start.c:203) ==37943== ==37943== 1,024 bytes in 1 blocks are definitely lost in loss record 51 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42E66A: __static_initialization_and_destruction_0(int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x42E67F: _GLOBAL__sub_I__Z15UserDeleteToEolv (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x44690C: __libc_csu_init (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x5761E3F: (below main) (libc-start.c:203) ==37943== ==37943== 1,072 bytes in 1 blocks are still reachable in loss record 52 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x4324FF: MakeCodeNameTableExt() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x43270A: FindKeyCode(char const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418806: BuildKeyTree(ActionCodeRec const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418A3C: RebuildKeyTree() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D181: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 1,584 (1,024 direct, 560 indirect) bytes in 1 blocks are definitely lost in loss record 53 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41783F: __static_initialization_and_destruction_0(int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x417854: _GLOBAL__sub_I_flag (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x44690C: __libc_csu_init (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x5761E3F: (below main) (libc-start.c:203) ==37943== ==37943== 1,898 bytes in 77 blocks are still reachable in loss record 54 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x41CC18: FormatItemText(int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41CFB8: CreateMenuWindow(int, int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x41D0B4: InitMenu() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D0A0: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 2,080 bytes in 52 blocks are still reachable in loss record 55 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418540: AddToKeyTree(KeyTreeNode*, int, int, int, char const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418855: BuildKeyTree(ActionCodeRec const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418A3C: RebuildKeyTree() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D181: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== 2,742 (1,024 direct, 1,718 indirect) bytes in 1 blocks are definitely lost in loss record 56 of 57 ==37943== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==37943== by 0x41328E: History::History() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DBB5: InodeHistory::InodeHistory() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x417835: __static_initialization_and_destruction_0(int, int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x417854: _GLOBAL__sub_I_flag (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x44690C: __libc_csu_init (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x5761E3F: (below main) (libc-start.c:203) ==37943== ==37943== 15,680 bytes in 392 blocks are still reachable in loss record 57 of 57 ==37943== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==37943== by 0x43D01C: operator new(unsigned long) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418540: AddToKeyTree(KeyTreeNode*, int, int, int, char const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418968: BuildKeyTree(ActionCodeRec const*) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x418A3C: RebuildKeyTree() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D181: Initialize() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40D7E9: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== ==37943== LEAK SUMMARY: ==37943== definitely lost: 6,525 bytes in 58 blocks ==37943== indirectly lost: 2,278 bytes in 90 blocks ==37943== possibly lost: 0 bytes in 0 blocks ==37943== still reachable: 39,315 bytes in 807 blocks ==37943== suppressed: 0 bytes in 0 blocks ==37943== ==37943== ERROR SUMMARY: 48 errors from 17 contexts (suppressed: 4 from 4) ==37943== ==37943== 32 errors in context 1 of 17: ==37943== Syscall param ioctl(TIOCLINUX) points to uninitialised byte(s) ==37943== at 0x5819FF7: ioctl (syscall-template.S:82) ==37943== by 0x411BAC: linux_process_key(int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x411B6C: GetKey(int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x4192EE: GetNextAction() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40C8D6: Edit() (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== by 0x40DB37: main (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== Address 0x7ff000191 is on thread 1's stack ==37943== Uninitialised value was created by a stack allocation ==37943== at 0x411B83: linux_process_key(int) (in /usr/build/ncurses/db-868609/le-1.16.3-fix2/src/le) ==37943== --37943-- --37943-- used_suppression: 4 dl-hack3-cond-1 ==37943== ==37943== ERROR SUMMARY: 48 errors from 17 contexts (suppressed: 4 from 4)
signature.asc
Description: Digital signature