Plug leaks reported by valgrind. Same. Same Same. Same. Same.

2006-02-23  Kjartan Maraas  <kmaraas@gnome.org>

	* tests/completion-test.c: (main): Plug leaks reported by
	valgrind.
	* tests/convert-test.c: (test_iconv_state), (test_one_half):
	Same.
	* tests/patterntest.c: (test_compilation): Same
	* tests/shell-test.c: (do_argv_test): Same.
	* tests/unicode-caseconv.c: (main): Same.
	* tests/uri-test.c: (run_to_uri_tests): Same.
This commit is contained in:
Kjartan Maraas
2006-02-23 09:09:55 +00:00
committed by Kjartan Maraas
parent 27a4a3ab6f
commit a629b3f02d
9 changed files with 50 additions and 0 deletions

View File

@@ -161,6 +161,7 @@ do_argv_test (const gchar *cmdline, const TestResult *result)
fprintf (stderr, "argv didn't get NULL-terminated\n");
exit (1);
}
g_strfreev (argv);
}
static void