Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100409 Details for
Bug 152001
media-sound/audacious-1.2.0_rc3 memory leak
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
audacious-playlist-transparency-leakfix-try2.diff
audacious-fix-transparency.diff (text/plain), 1.23 KB, created by
William Pitcock
on 2006-10-24 13:23:11 UTC
(
hide
)
Description:
audacious-playlist-transparency-leakfix-try2.diff
Filename:
MIME Type:
Creator:
William Pitcock
Created:
2006-10-24 13:23:11 UTC
Size:
1.23 KB
patch
obsolete
>Index: widgets/playlist_list.c >=================================================================== >--- widgets/playlist_list.c (revision 2752) >+++ widgets/playlist_list.c (revision 2761) >@@ -119,11 +119,14 @@ > ximg, ximg->bpl, w, h, 60, 60, 60, shade_color->pixel); > > gdk_draw_image(p, gc, ximg, 0, 0, x, y, w, h); >+ >+ g_object_unref(ximg); > } > else { > cfg.playlist_transparent = FALSE; > } > >+ g_object_unref(in); > g_object_unref(gc); > > return p; >@@ -174,16 +177,17 @@ > static GdkFilterReturn > root_event_cb (GdkXEvent *xev, GdkEventProperty *event, gpointer data) > { >- static Atom at = None; > XEvent *xevent = (XEvent *)xev; > > if (xevent->type == PropertyNotify) > { >- if (at == None) >- at = XInternAtom (xevent->xproperty.display, "_XROOTPMAP_ID", True); >+ Atom at = XInternAtom (xevent->xproperty.display, "_XROOTPMAP_ID", True); > > if (at == xevent->xproperty.atom) > { >+ if (rootpix != NULL) >+ g_object_unref(rootpix); >+ > rootpix = shade_pixmap(get_transparency_pixmap(), 0, 0, 0, 0, gdk_screen_width(), gdk_screen_height(), > skin_get_color(bmp_active_skin, SKIN_PLEDIT_NORMALBG)); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 152001
:
100349
| 100409