Re: network manager::memory and resource leaks



On Wed, Mar 25, 2009 at 01:14, Martin Ettl <ettl martin gmx de> wrote:
> Hi friends,
>
> i examined the source code of the network manager with a static code anaylsis tool (cppcheck). It brought up a few little issues. But see yourself:
>
> cppcheck -a -q -j2 -f NetworkManager-0.7.0.99
> [NetworkManager-0.7.0.99/callouts/nm-dispatcher-action.c:754]: (error) Memory leak: d
This is bogus, the next line is the end of program.

> [NetworkManager-0.7.0.99/src/named-manager/nm-named-manager.c:321]: (error) Resource leak: f
The tool must not understand pclose(), this is not a leak.

> [NetworkManager-0.7.0.99/system-settings/src/main.c:852]: (error) Memory leak: app
Again bogus, the next line is the end of program.

Tambet


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]