Never used cppcheck before. Im liking that
On 9 Jan 2015 12:49, "Raine M. Ekman" <ra...@iki.fi> wrote:

> Quoting Tres Finocchiaro <tres.finocchi...@gmail.com>:
>
> > Thanks for sharing that service looks very useful.
> >
>
>
> I thought cppcheck had been mentioned here on the list or on the issue
> tracker at some point, but looks like maybe it wasn't. In short:
>
> $ sudo apt-get install cppcheck
> $ cd $LMMS_SRC
> $ cppcheck -j2 --force src include plugins 2>$REPORT
> $ cat $REPORT
> [plugins/Eq/EqParameterWidget.cpp:237]: (error) Mismatching allocation
> and deallocation: distanceToHandles
> [plugins/LadspaEffect/tap/tap_dynamics_m.c:232]: (error) Memory leak: ptr
> [plugins/LadspaEffect/tap/tap_dynamics_m.c:235]: (error) Memory leak: rms
> [plugins/LadspaEffect/tap/tap_dynamics_st.c:256]: (error) Memory leak: ptr
> [plugins/LadspaEffect/tap/tap_dynamics_st.c:258]: (error) Memory leak:
> rms_L
> [plugins/LadspaEffect/tap/tap_dynamics_st.c:261]: (error) Memory leak:
> rms_R
> [plugins/vst_base/basename.c:132]: (error) Common realloc mistake:
> 'retfail' nulled but not freed upon failure
> [src/core/audio/AudioFileOgg.cpp:123]: (error) Memory leak: user_comments
>
> More checks can be enabled if needed.
>
>
> --
> ra...@iki.fi
> softrabbit on #lmms
>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> LMMS-devel mailing list
> LMMS-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lmms-devel
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
LMMS-devel mailing list
LMMS-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to