Re: network manager::memory and resource leaks
On Wed, Mar 25, 2009 at 01:14, Martin Ettl 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 ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
network manager::memory and resource leaks
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 [NetworkManager-0.7.0.99/src/named-manager/nm-named-manager.c:321]: (error) Resource leak: f [NetworkManager-0.7.0.99/system-settings/src/main.c:852]: (error) Memory leak: app Best regards to the nm-team Ettl Martin -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list