From: JinWang An Date: Thu, 7 Mar 2024 09:39:51 +0000 (+0900) Subject: Fix source of calling g_string_free for glib 2.78.4 X-Git-Tag: accepted/tizen/unified/20240322.174332^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_9.0;p=platform%2Fcore%2Fsecurity%2Fklay.git Fix source of calling g_string_free for glib 2.78.4 Change-Id: If67035707f94bfa55f530bf0f4f1bb299577da6f Signed-off-by: JinWang An --- diff --git a/src/dbus/introspection.cpp b/src/dbus/introspection.cpp index 36048a8..5f6031f 100644 --- a/src/dbus/introspection.cpp +++ b/src/dbus/introspection.cpp @@ -105,7 +105,7 @@ std::string Introspection::getXmlData(unsigned int indent) using ScopedGString = std::unique_ptr>; ScopedGString buf(g_string_new(""), [](GString *ptr) { - ::g_string_free(ptr, TRUE); + g_string_free(ptr, TRUE); }); if (buf == nullptr) throw klay::Exception("Out of memory.");