GNOME Bugzilla – Bug 595139
Memory leak
Last modified: 2011-07-13 08:51:12 UTC
Forwarding https://bugzilla.novell.com/show_bug.cgi?id=538919 I just had a look at factory package gnome-nettool-2.27.4-1.6 For source code file gnome-nettool-2.27.4/src/finger.c around line 90, function finger_do, is the following code program_name = g_strdup ("pinky"); but I fail to find the matching call to free. This looks like a memory leak to me. Further, from the command line $ fgrep program_name ../BUILD/gnome-nettool-2.27.4/src/finger.c gchar *program_name = NULL; program_name = g_strdup ("pinky"); program_name = g_strdup ("finger"); command_line[i++] = g_strdup (program_name); Suggest either remove the first two pointless calls to strdup or add a call to free near the end of the routine.
This problem has been fixed in the development and master version. The fix will be available in the next major software release. Thank you for your bug report.