Fix memory leaks in get_toolkit_name and get_toolkit_version
authorMike Gorse <mgorse@novell.com>
Fri, 6 May 2011 00:39:33 +0000 (19:39 -0500)
committerMike Gorse <mgorse@novell.com>
Fri, 6 May 2011 00:39:33 +0000 (19:39 -0500)
commitb12cdda617ae1b3c45d7a553a96571736b7753bb
tree6eba196bd4f526f7974f9909493f58d53eb58fcb
parent0af92999fa225c8c3a7dd2d55208e96907fd929d
Fix memory leaks in get_toolkit_name and get_toolkit_version

_atspi_dbus_get_property calls g_strdup when it returns a string, so we
should not g_strdup the result unless we're caching a copy for later use.
atspi/atspi-accessible.c