[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25364: etags malloc problems
From: |
Andreas Schwab |
Subject: |
bug#25364: etags malloc problems |
Date: |
Thu, 05 Jan 2017 16:52:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux) |
On Jan 05 2017, <5upnzm+87w9w470225qs@sharklasers.com> wrote:
> ==5176==ERROR: LeakSanitizer: detected memory leaks
>
> Direct leak of 120 byte(s) in 1 object(s) allocated from:
> #0 0x4cba68 in __interceptor_malloc (/tmp/etags/etags+0x4cba68)
> #1 0x5043f8 in xmalloc /tmp/etags/etags.c:7238:18
> #2 0x5036c5 in main /tmp/etags/etags.c:1097:15
> #3 0x7fb31bc332b0 in __libc_start_main
> (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
>
> Direct leak of 40 byte(s) in 1 object(s) allocated from:
> #0 0x4cba68 in __interceptor_malloc (/tmp/etags/etags+0x4cba68)
> #1 0x5043f8 in xmalloc /tmp/etags/etags.c:7238:18
> #2 0x5036b8 in main /tmp/etags/etags.c:1091:20
> #3 0x7fb31bc332b0 in __libc_start_main
> (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
>
> Direct leak of 24 byte(s) in 1 object(s) allocated from:
> #0 0x4cba68 in __interceptor_malloc (/tmp/etags/etags+0x4cba68)
> #1 0x5043f8 in xmalloc /tmp/etags/etags.c:7238:18
> #2 0x50447c in concat /tmp/etags/etags.c:6958:18
> #3 0x503706 in main /tmp/etags/etags.c:1109:15
> #4 0x7fb31bc332b0 in __libc_start_main
> (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
These are all allocations in main, no point in freeing them if the
process is exiting anyway.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."