GVariant: fix two small/theoretical leaks
authorRyan Lortie <desrt@desrt.ca>
Thu, 11 Jul 2013 16:26:33 +0000 (12:26 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 11 Jul 2013 16:26:33 +0000 (12:26 -0400)
commit662e3c4891a63498d9720d7c9a3d782f30374d3a
treeb7fb5da135fa4d60b6157ae20266010d2dcde018
parent1c586e44befe07812ac1e4473ef9e3a76330b78e
GVariant: fix two small/theoretical leaks

Fix some leaks that turned up while valgrinding the GVariant testcase.

These leaks are small and only occur when there is already an error in
the program: they are leaks of temp strings used when formatting a
critical message.

These show up as leaks again the testcase under the new "expect
messages" approach.  Previously, we fork()ed and these caused the
subprocess to abort, which is why this was not noticed before.
glib/gvariant.c