Some memory leak present in Pidgin.
Josh Mueller
minielim at gmail.com
Fri Mar 27 23:22:33 EDT 2009
On Fri, Mar 27, 2009 at 10:47 AM, Etan Reisner
<pidgin at unreliablesource.net> wrote:
> Out of curiosity, what tool generated this output?
>
> -Etan
>
> _______________________________________________
> Devel mailing list
> Devel at pidgin.im
> http://pidgin.im/cgi-bin/mailman/listinfo/devel
>
It would appear to be the output from cppcheck -a -s -q [1]
The output of cppcheck 1.30 against the latest head of mtn is appended
to the end of this email.
1. http://sourceforge.net/projects/cppcheck
--
Josh Mueller
[.\finch\gntroomlist.c:54]: (style) struct or union member
'_FinchRoomlist::join' is never used
[.\finch\libgnt\gntentry.c:256]: (error) Deallocating a deallocated
pointer: match
[.\finch\libgnt\wms\irssi.c:48]: (style) struct or union member
'_Irssi::inherit' is never used
[.\finch\libgnt\wms\irssi.c:58]: (style) struct or union member
'_IrssiClass::inherit' is never used
[.\finch\libgnt\wms\s.c:24]: (style) struct or union member
'_S::inherit' is never used
[.\finch\libgnt\wms\s.c:29]: (style) struct or union member
'_SClass::inherit' is never used
[.\libpurple\desktopitem.c:839]: (error) Memory leak: str
[.\libpurple\protocols\gg\lib\common.c:126]: (error) Memory leak: tmp
[.\libpurple\protocols\gg\lib\common.c:527]: (style) Redundant
condition. It is safe to deallocate a NULL pointer
[.\libpurple\protocols\gg\lib\common.c:504]: (style) Redundant
condition. It is safe to deallocate a NULL pointer
[.\libpurple\protocols\gg\lib\common.c:506]: (style) Redundant
condition. It is safe to deallocate a NULL pointer
[.\libpurple\protocols\gg\lib\common.c:508]: (style) Redundant
condition. It is safe to deallocate a NULL pointer
[.\libpurple\protocols\gg\lib\events.c:961]: (style) Redundant
condition. It is safe to deallocate a NULL pointer
[.\libpurple\protocols\gg\lib\http.c:91]: (style) Redundant condition.
It is safe to deallocate a NULL pointer
[.\libpurple\protocols\gg\lib\libgadu.c:883]: (error) Memory leak: tmp2
[.\libpurple\protocols\gg\lib\libgadu.c:1425]: (error) Memory leak: buf
[.\libpurple\protocols\gg\lib\pubdir50.c:98]: (error) Memory leak: tmp
[.\libpurple\protocols\msn\cmdproc.c:223]: (error) Memory leak: trans
[.\libpurple\protocols\msn\msnutils.c:457]: (error) Memory leak: fontface
[.\libpurple\protocols\msn\oim.c:268]: (error) Memory leak: data
[.\libpurple\protocols\msnp9\cmdproc.c:216]: (error) Memory leak: trans
[.\libpurple\protocols\msnp9\msn-utils.c:420]: (error) Memory leak: fontface
[.\libpurple\protocols\myspace\myspace.c:2547]: (error) Memory leak: stripped
[.\libpurple\protocols\myspace\myspace.c:2588]: (error) Memory leak: stripped
[.\libpurple\protocols\yahoo\yahoo.c:2962]: (error) Memory leak: p2p_data
[.\libpurple\protocols\yahoo\yahoo_crypt.c:59]: (error) Memory leak: buffer
[.\libpurple\protocols\yahoo\yahoo_filexfer.c:927]: (all) Memory leak: xfer_data
[.\libpurple\protocols\yahoo\yahoo_filexfer.c:955]: (all) Memory leak: xfer_data
[.\libpurple\protocols\yahoo\yahoo_filexfer.c:1715]: (all) Memory
leak: xfer_data
[.\libpurple\protocols\yahoo\yahoo_friend.c:182]: (all) Memory leak: who
[.\libpurple\protocols\yahoo\yahoo_picture.c:630]: (all) Memory leak: d
[.\libpurple\protocols\yahoo\yahoo_profile.c:61]: (style) struct or
union member 'profile_strings_node::yahoo_id_string' is never used
[.\libpurple\protocols\yahoo\yahoo_profile.c:81]: (style) struct or
union member 'profile_strings_node::dummy' is never used
[.\libpurple\protocols\zephyr\zephyr.c:2504]: (error) Memory leak: classname
[.\libpurple\protocols\zephyr\zephyr_err.c:39]: (style) struct or
union member 'error_table::base' is never used
[.\libpurple\protocols\zephyr\zephyr_err.c:40]: (style) struct or
union member 'error_table::n_msgs' is never used
[.\libpurple\smiley.c:41]: (style) struct or union member
'_PurpleSmiley::parent' is never used
[.\libpurple\smiley.c:52]: (style) struct or union member
'_PurpleSmileyClass::parent_class' is never used
[.\libpurple\upnp.c:674]: (all) Memory leak: dd
[.\libpurple\util.c:299]: (style) Warning - using char variable in bit operation
[.\libpurple\win32\giowin32.c:123]: (style) struct or union member
'_GIOWin32Watch::source' is never used
[.\pidgin\gtkblist.c:2773]: (style) struct or union member
'tooltip_data::avatar_is_prpl_icon' is never used
[.\pidgin\gtkimhtml.c:3745]: (error) Memory leak: type
[.\pidgin\gtklog.c:382]: (error) Memory leak: data
[.\pidgin\gtklog.c:419]: (error) Memory leak: data
[.\pidgin\gtkroomlist.c:66]: (style) struct or union member
'_PidginRoomlist::tip_rect' is never used
[.\pidgin\gtkthemes.c:369]: (all) Memory leak: theme
[.\pidgin\plugins\crazychat\draw.c:13]: (style) struct or union member
'Packet::eyeLeft' is never used
[.\pidgin\plugins\crazychat\draw.c:14]: (style) struct or union member
'Packet::eyeRight' is never used
[.\pidgin\plugins\crazychat\eye.c:28]: (style) struct or union member
'sample_TEXTURE::name' is never used
More information about the Devel
mailing list