mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02:00
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:
committed by
Kjartan Maraas
parent
27a4a3ab6f
commit
a629b3f02d
@@ -88,6 +88,7 @@ int main (int argc, char **argv)
|
||||
if (!infile)
|
||||
{
|
||||
fprintf (stderr, "Failed to open %s\n", filename );
|
||||
g_free (filename);
|
||||
exit (1);
|
||||
}
|
||||
|
||||
@@ -114,6 +115,7 @@ int main (int argc, char **argv)
|
||||
}
|
||||
|
||||
fclose (infile);
|
||||
g_free (filename);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user