cairo_surface_t reference is lost when pointer is overwritten

Bug #356916 reported by Eitan Isaacson on 2009-04-07
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Mirco Müller

Bug Description

The tmp_surface is passed as an argument in a function that reassigns a new surface to the same pointer. A third cairo_surface_t is probably required. The attached patch seems to work, but I did some guessing here since I never did much cairo ops before.

Eitan Isaacson (eeejay) wrote :
Eitan Isaacson (eeejay) on 2009-04-07
tags: added: memleak
Mirco Müller (macslow) on 2009-04-16
Changed in notify-osd:
assignee: nobody → Mirco Müller (macslow)
importance: Undecided → Medium
status: New → Fix Committed
Alexander Sack (asac) wrote :

from what i can see this is also fixed in latest release. would be great if you could confirm that and reopen if thats the case.

Changed in notify-osd:
status: Fix Committed → Fix Released
affects: notify-osd → notify-osd (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers