! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
(Possible) memory leaks and fixes from libwnck
Status:
RESOLVED: FIXED
Product:
Libxfcegui4
Component:
General

Comments

Description Nick Schermer editbugs 2006-05-30 16:23:32 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060503 Firefox/1.5.0.3 (Swiftfox)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060503 Firefox/1.5.0.3 (Swiftfox)

Duno how usefull the xev.xclient.data.l[3] = 0; fixes are, the other ones are memory leaks, reported in libwnck.

Reproducible: Always

Steps to Reproduce:
Comment 1 Nick Schermer editbugs 2006-05-30 16:23:56 CEST
Created attachment 582 
Fixes
Comment 3 Olivier Fourdan editbugs 2006-06-15 21:10:56 CEST
Are you sure of this, it looks odd (destroy the gtk widget and after unref the corresponding gobject) ?


     if (task->menu)
     {
-        gtk_widget_destroy (task->menu);
+        g_object_unref (task->menu);
         task->menu = NULL;
     }
Comment 4 Nick Schermer editbugs 2006-06-15 21:23:13 CEST
I agree it's a bit weird, but is has been committed in the libwnk trunk.
Comment 5 Olivier Fourdan editbugs 2006-06-15 21:36:37 CEST
Woops, sorry, I need new glasses, I missed the "-". Committed, both branches.

Bug #1874

Reported by:
Nick Schermer
Reported on: 2006-05-30
Last modified on: 2009-07-15

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
unspecified

Attachments

Fixes (3.26 KB, patch)
2006-05-30 16:23 CEST , Nick Schermer
no flags

Additional information