DBus CXX: fixed memory leak in variant support
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 30 Nov 2011 14:59:42 +0000 (14:59 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Wed, 30 Nov 2011 14:59:42 +0000 (14:59 +0000)
commitad513df9cdac7673ae66e82393fb3a98b4c6dbb4
treef01302063f945d003931f711a72d527c6594c443
parenta42cc54cd02d47bf95f27909bd6b530e4ebff6e0
DBus CXX: fixed memory leak in variant support

dbus_message_iter_get_signature() returns a newly allocated string.
Freeing that now with a smart pointer. SmartPtr.h is not used to
avoid dependencies on the rest of SyncEvolution - just in case that
someone finds this useful.
src/gdbus/gdbus-cxx-bridge.h