[pango/wip/baedert/for-master] testattributes: Properly free GString
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/wip/baedert/for-master] testattributes: Properly free GString
- Date: Fri, 17 Apr 2020 09:39:48 +0000 (UTC)
commit c41ba6a5a3779829aac8c46acde32873e7b7c7f6
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]