GVariant: add preconditions to ref. counting functions
authorPhilip Withnall <philip@tecnocode.co.uk>
Wed, 30 Nov 2011 10:20:13 +0000 (10:20 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Fri, 2 Dec 2011 10:23:14 +0000 (10:23 +0000)
commit22da18fa706c685da015c9b9a786d810270b3a5f
treec59ebd7cbf40161051aca1103463ab49c941c03c
parent190645bcc40a4dda579cb5cabd3b1778628d9ef6
GVariant: add preconditions to ref. counting functions

These prevent GVariants from accidentally being brought back to life after
being freed, and should make it easier to track down ref. counting issues.

Closes: bgo#665184
glib/gvariant-core.c