gdbusmessage: Fix a minor memory leak on an error path
commitbc01109618009ad748abdc58bdc0c64891b84db0
authorPhilip Withnall <philip@tecnocode.co.uk>
Tue, 21 Apr 2015 22:57:17 +0000 (21 23:57 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Tue, 21 Apr 2015 23:02:06 +0000 (22 00:02 +0100)
treeda4cc61820c28578f59b5fb274f68b867719d624
parent1b3dbec0658695deee02b35b7d9a3fce981ce772
gdbusmessage: Fix a minor memory leak on an error path

If g_dbus_message_to_blob() fails at all, it will leak its mbuf. Spotted
by running the gdbus-serialization test under Valgrind — so there is a
justification for leak-free tests after all!
gio/gdbusmessage.c