gerror: Don't leak memory when overwrite warning
authorDan Winship <danw@gnome.org>
Thu, 7 Nov 2013 21:38:52 +0000 (22:38 +0100)
committerStef Walter <stefw@gnome.org>
Sun, 10 Nov 2013 21:40:08 +0000 (22:40 +0100)
commitab3c55435af3cecaa4b7805e8f6ffe1719e13ba6
tree31a73d0c33dbef7bf5fe986fa521fdbc84f8c7f9
parente74b4351a33aa09ed053922cca907c956cbe61cd
gerror: Don't leak memory when overwrite warning

Even though we can't always make no-leak guarantees when g_warning()
in this case we're testing this behavior in tests, and it would be
good to be able to valgrind this.

https://bugzilla.gnome.org/show_bug.cgi?id=711751
glib/gerror.c
glib/tests/error.c