[Users] [Bug 3148] Logic error in claws_get_socket_name()

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sun Apr 27 10:16:18 CEST 2014


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3148

Deweloper <deweloper at wp.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #2 from Deweloper <deweloper at wp.pl> ---
The original issue is fixed as of a9065aec26499a0e1294c73b6d9e6f039976521e,
however the function leaks memory now - socket_dir is never free'd:

==00:03:04:19.263 8553== 21 bytes in 1 blocks are definitely lost in loss
record 6,994 of 18,297
==00:03:04:19.263 8553==    at 0x4006B11: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==00:03:04:19.263 8553==    by 0x47DFC02F: __vasprintf_chk (vasprintf_chk.c:80)
==00:03:04:19.264 8553==    by 0x480AA58A: g_vasprintf (stdio2.h:210)
==00:03:04:19.264 8553==    by 0x480844FF: g_strdup_vprintf (gstrfuncs.c:517)
==00:03:04:19.264 8553==    by 0x48084543: g_strdup_printf (gstrfuncs.c:543)
==00:03:04:19.264 8553==    by 0x80F056F: claws_get_socket_name (main.c:2142)
==00:03:04:19.264 8553==    by 0x80F06FE: prohibit_duplicate_launch
(main.c:2195)
==00:03:04:19.264 8553==    by 0x807D596: main (main.c:1002)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list