[pango/wip/baedert/for-master2: 14/17] testattributes: Properly free GString



commit 4d658d4c19fb22126b0f848a5b018227747bfd07
Author: Timm Bäder <mail baedert org>
Date:   Fri Apr 17 10:20:28 2020 +0200

    testattributes: Properly free GString
    
    Not needed afterwards.

 tests/testattributes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/testattributes.c b/tests/testattributes.c
index 9964f3d0..eaca6663 100644
--- a/tests/testattributes.c
+++ b/tests/testattributes.c
@@ -100,7 +100,7 @@ assert_attributes (GSList     *attrs,
   s = g_string_new ("");
   print_attributes (attrs, s);
   g_assert_cmpstr (s->str, ==, expected);
-  g_string_free (s, FALSE);
+  g_string_free (s, TRUE);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]