[Gaim-patches] [ gaim-Patches-1694728 ] plug 3 simple leaks

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gaim-patches] [ gaim-Patches-1694728 ] plug 3 simple leaks

SourceForge.net
Patches item #1694728, was opened at 2007-04-04 23:17
Message generated for change (Comment added) made by thekingant
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1694728&group_id=235

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Andrew Gaul (gaul)
Assigned to: Nobody/Anonymous (nobody)
Summary: plug 3 simple leaks

Initial Comment:
==16165== 4,134 bytes in 1 blocks are definitely lost in loss record 231 of 267
==16165==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==16165==    by 0x4CC98692: g_try_malloc (in /lib/libglib-2.0.so.0.1200.9)
==16165==    by 0x4CC83BAA: g_file_get_contents (in /lib/libglib-2.0.so.0.1200.9
)
==16165==    by 0x4541864: yahoo_set_buddy_icon (yahoo_picture.c:540)
==16165==    by 0x453126C: yahoo_login (yahoo.c:2655)
==16165==    by 0x404C5D5: gaim_connection_new (connection.c:156)
==16165==    by 0x403D16D: gaim_account_connect (account.c:1000)
==16165==    by 0x403D453: gaim_accounts_restore_current_statuses (account.c:231
6)
==16165==    by 0x80ABAC0: main (gtkmain.c:797)

==29463== 148 bytes in 10 blocks are definitely lost in loss record 135 of 266
==29463==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==29463==    by 0x4CC98875: g_malloc (in /lib/libglib-2.0.so.0.1200.9)
==29463==    by 0x4467623: jabber_parser_element_start_libxml (parser.c:48)
==29463==    by 0x4A55AB31: (within /usr/lib/libxml2.so.2.6.27)
==29463==    by 0x4A5631BF: xmlParseChunk (in /usr/lib/libxml2.so.2.6.27)
==29463==    by 0x4467A6E: jabber_parser_process (parser.c:190)
==29463==    by 0x445F486: jabber_recv_cb_ssl (jabber.c:382)
==29463==    by 0x4085101: recv_cb (sslconn.c:138)
==29463==    by 0x809AFFA: gaim_gtk_io_invoke (gtkeventloop.c:77)
==29463==    by 0x4CCBABAC: (within /lib/libglib-2.0.so.0.1200.9)
==29463==    by 0x4CC91441: g_main_context_dispatch (in /lib/libglib-2.0.so.0.12
00.9)
==29463==    by 0x4CC9441E: (within /lib/libglib-2.0.so.0.1200.9)
==29463==    by 0x4CC947C8: g_main_loop_run (in /lib/libglib-2.0.so.0.1200.9)
==29463==    by 0x423624B3: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.1000.8)
==29463==    by 0x80B3234: main (gtkmain.c:817)

==16165== 32 bytes in 1 blocks are definitely lost in loss record 70 of 267
==16165==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==16165==    by 0x4CC9873A: g_realloc (in /lib/libglib-2.0.so.0.1200.9)
==16165==    by 0x4CCACF7B: (within /lib/libglib-2.0.so.0.1200.9)
==16165==    by 0x4CCAD4A2: g_string_insert_len (in /lib/libglib-2.0.so.0.1200.9
)
==16165==    by 0x4CCAD7F5: g_string_append_len (in /lib/libglib-2.0.so.0.1200.9
)
==16165==    by 0x4CC82BAB: (within /lib/libglib-2.0.so.0.1200.9)
==16165==    by 0x4CC82DAF: g_build_filename (in /lib/libglib-2.0.so.0.1200.9)
==16165==    by 0x4044CAC: gaim_buddy_icons_get_full_path (buddyicon.c:520)
==16165==    by 0x44CE133: gaim_ssi_parselist (oscar.c:4976)
==16165==    by 0x44BF273: snachandler (family_feedbag.c:1331)
==16165==    by 0x44C1E44: flap_connection_recv_cb (flap_connection.c:667)
==16165==    by 0x80969C2: gaim_gtk_io_invoke (gtkeventloop.c:77)
==16165==    by 0x4CCBABAC: (within /lib/libglib-2.0.so.0.1200.9)
==16165==    by 0x4CC91441: g_main_context_dispatch (in /lib/libglib-2.0.so.0.12
00.9)
==16165==    by 0x4CC9441E: (within /lib/libglib-2.0.so.0.1200.9)
==16165==    by 0x4CC947C8: g_main_loop_run (in /lib/libglib-2.0.so.0.1200.9)
==16165==    by 0x423624B3: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.1000.8)
==16165==    by 0x80ABA97: main (gtkmain.c:817)

----------------------------------------------------------------------

>Comment By: Mark Doliner (thekingant)
Date: 2007-04-08 18:31

Message:
Logged In: YES
user_id=20979
Originator: NO

The Jabber memleak had already been fixed in Pidgin Monotone, but I
applied the other two changes.  I love patches like this.  Thanks!

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1694728&group_id=235

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gaim-patches mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gaim-patches
Loading...