[Geany-devel] A few fixes for codenav, geanygdb, geanyinsertnum and geanylatex

Colomban Wendling lists.ban at xxxxx
Wed Feb 23 18:32:07 UTC 2011


Hi plugin maintainers,

In context of the "ideas on increasing quality of plugins" thread, I
tested a few code checker on geany-plugins trunk, and cppcheck found a
few little problems:

[./codenav/src/switch_head_impl.c:144]: (error) Memory leak: lang
[./geanygdb/src/gdb-io-frame.c:186]: (error) Possible null pointer
dereference: lv
[./geanyinsertnum/src/insertnum.c:156]: (error) Memory leak: line_pos
[./geanylatex/src/templates.c:47]: (error) Memory leak: template

I also attach here the fixes I propose for them, if you're interested.

Regards,
Colomban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codenav-plug-mem-leak.patch
Type: text/x-patch
Size: 428 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20110223/8954558d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geanygdb-fix-null-dereference.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20110223/8954558d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geanyinsertnum-plug-mem-leak.patch
Type: text/x-patch
Size: 402 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20110223/8954558d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geanylatex-plug-mem-leak.patch
Type: text/x-patch
Size: 705 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20110223/8954558d/attachment-0003.bin>


More information about the Devel mailing list