cairo_surface_t reference is lost when pointer is overwritten

Bug #356916 reported by Eitan Isaacson
2
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Fix Released
Medium
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.

Tags: memleak
Revision history for this message
Eitan Isaacson (eeejay) wrote :
Eitan Isaacson (eeejay)
tags: added: memleak
Mirco Müller (macslow)
Changed in notify-osd:
assignee: nobody → Mirco Müller (macslow)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.