diff --git a/src/wstring.cpp b/src/wstring.cpp index 2157aa0..f73920b 100644 --- a/src/wstring.cpp +++ b/src/wstring.cpp @@ -24,7 +24,7 @@ void WStringCodec::encode(DBusMessageIter& iter, const std::wstring& str) Codec::encode(_iter, (uint32_t)t); } - dbus_message_iter_close_container(&_iter, &_iter); + dbus_message_iter_close_container(&iter, &_iter); }