From 91d4611cb4e06d79b189010184aa6904109693fb Mon Sep 17 00:00:00 2001 From: JinWang An Date: Thu, 7 Mar 2024 18:39:51 +0900 Subject: [PATCH] Fix source of calling g_string_free for glib 2.78.4 Change-Id: If67035707f94bfa55f530bf0f4f1bb299577da6f Signed-off-by: JinWang An --- src/dbus/introspection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); -- 2.34.1