[glib] unicode-encoding: Fix leaks in test
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] unicode-encoding: Fix leaks in test
- Date: Sun, 10 Nov 2013 21:51:39 +0000 (UTC)
commit 44bd2ab07e81016c961a59f0a66f4351ac5822cf
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]