[Pidgin] #17292: Search results memory leak

Pidgin trac at pidgin.im
Wed Mar 7 07:03:59 EST 2018


#17292: Search results memory leak
--------------------+---------------------------
 Reporter:  dwmw2   |       Owner:  EionRobb
     Type:  defect  |      Status:  new
Milestone:  2.13.0  |   Component:  unclassified
  Version:  2.12.0  |  Resolution:
 Keywords:          |
--------------------+---------------------------

Comment (by dwmw2):

 Actually... those strings are being lost *too*... maybe we should be using
 g_value_set_static_string()?

 {{{
 ==21741== 19,302 bytes in 1,965 blocks are definitely lost in loss record
 24,857 of 24,944
 ==21741==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==21741==    by 0x7461718: g_malloc (in /lib/x86_64-linux-
 gnu/libglib-2.0.so.0.4800.2)
 ==21741==    by 0x747A4EE: g_strdup (in /lib/x86_64-linux-
 gnu/libglib-2.0.so.0.4800.2)
 ==21741==    by 0x71F9F2F: g_value_set_string (in /usr/lib/x86_64-linux-
 gnu/libgobject-2.0.so.0.4800.2)
 ==21741==    by 0x48535C: pidgin_notify_searchresults_new_rows
 (gtknotify.c:934)
 }}}

--
Ticket URL: <https://developer.pidgin.im/ticket/17292#comment:1>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list