cairo_surface_t reference is lost when pointer is overwritten
Bug #356916 reported by
Eitan Isaacson
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: | added: memleak |
Changed in notify-osd: | |
assignee: | nobody → Mirco Müller (macslow) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
affects: | notify-osd → notify-osd (Ubuntu) |
To post a comment you must log in.
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.