http://bugzilla.novell.com/show_bug.cgi?id=546496 Summary: gnome-commander-1.2.8.2-1.1: memory leak Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package gnome-commander-1.2.8.2-1.1 source code file gnome-commander-1.2.8.2/src/gnome-cmd-dir-indicator.cc function on_dir_indicator_clicked I notice the following code gchar *chTo = g_strdup(labelText); gint x = (gint) event->x; for (gint i = 0; i < indicator->priv->numPositions; i++) if (x < indicator->priv->slashPixelPosition[i]) { strncpy (chTo, labelText, indicator->priv->slashCharPosition[i]); chTo[indicator->priv->slashCharPosition[i]] = 0x0; gnome_cmd_main_win_switch_fs (main_win, fs); fs->goto_directory(chTo); g_free (chTo); return TRUE; } // pointer is after directory name - just return return TRUE; so if the final return is taken, then chTo is a memory leak. Suggest add call to free( chTo) just before final return. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.