On 10/05/2011 07:40 PM, Dan Williams wrote: > On Tue, 2011-10-04 at 22:22 +0200, Thomas Jarosch wrote: >> Detected by cppcheck. > > Thanks, applied. Looks like the other two variables there (var1 and > var2) also need to be freed with g_free() since they are allocated using > glib functions. I've added that to your patch.
Yes, very true. I've isolated the logic of this code and reported it to the cppcheck project. Thanks! Thomas _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list