~compiz-team/compiz-core/oneiric.force_output_detection

« back to all changes in this revision

Viewing changes to gtk/window-decorator/switcher.c

  • Committer: Sam Spilsbury
  • Date: 2011-08-23 10:40:29 UTC
  • Revision ID: sam.spilsbury@canonical.com-20110823104029-zhbpf8gtiiwf2pzh
Fix leak

Show diffs side-by-side

added added

removed removed

Lines of Context:
493
493
    if (d->picture)
494
494
        XRenderFreePicture (xdisplay, d->picture);
495
495
 
496
 
    g_object_ref (G_OBJECT (pixmap));
497
 
    g_object_ref (G_OBJECT (buffer_pixmap));
498
 
 
499
496
    d->pixmap        = pixmap;
500
497
    d->buffer_pixmap = buffer_pixmap;
501
498
    d->cr            = gdk_cairo_create (pixmap);