Can g_variant_unref() on an already free'd variant

Bug #727447 reported by Ted Gould
8
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.

Tags: patch
Revision history for this message
Ted Gould (ted) wrote :
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
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed since

Changed in glib2.0 (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
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.