Can g_variant_unref() on an already free'd variant
Bug #727447 reported by
Ted Gould
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GLib |
Fix Released
|
Medium
|
|||
glib2.0 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Because the signal handler will ref and unref the variant it's possible that when doing the unref() the variant has already been free'd. So, in order to combat that we need to ensure that the caller is sinking it first and then unref'ing it.
Changed in glib: | |
importance: | Unknown → Medium |
status: | Unknown → New |
tags: | added: patch |
Changed in glib: | |
status: | New → Confirmed |
Changed in glib: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
the bug has been fixed since