[glib/wip/gcleanup: 47/79] unicode-encoding: Fix leaks in test
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup: 47/79] unicode-encoding: Fix leaks in test
- Date: Sun, 10 Nov 2013 15:23:28 +0000 (UTC)
commit a17ed8faaac708a4eb41f5dde01566d8cab57856
Author: Stef Walter <stefw gnome org>
Date: Sat Nov 9 20:52:42 2013 +0100
unicode-encoding: Fix leaks in test
https://bugzilla.gnome.org/show_bug.cgi?id=711751
tests/unicode-encoding.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/unicode-encoding.c b/tests/unicode-encoding.c
index a231f10..75c982e 100644
--- a/tests/unicode-encoding.c
+++ b/tests/unicode-encoding.c
@@ -416,5 +416,8 @@ main (int argc, char **argv)
line++;
}
+ g_free (testfile);
+ g_array_free (ucs4, TRUE);
+ g_free (contents);
return exit_status;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]