[Xfce-bugs] [Bug 4665] New: [xfce-mcs-plugins/plugins/ui_plugin/ui_plugin.c:427]: Memory leak: translated_name

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Nov 30 13:42:10 CET 2008


http://bugzilla.xfce.org/show_bug.cgi?id=4665

           Summary: [xfce-mcs-plugins/plugins/ui_plugin/ui_plugin.c:427]:
                    Memory leak: translated_name
           Product: Xfce
           Version: 4.5.x (SVN trunk)
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: xfce-mcs-plugins
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: danielm77 at spray.se


There is a possible memory leak..

            translated_name = g_strdup(xfce_rc_read_entry(themefile, "Name",
file));
            xfce_rc_close(themefile);
            themename = g_path_get_basename (file);
            if(g_hash_table_lookup(theme_names, themename))
            {
                g_free(themename);
                continue;
            }

This bug was detected with cppcheck

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list