Don't leak in converter test

This commit is contained in:
Matthias Clasen 2010-07-26 21:16:03 -04:00
parent 63bdeb0dab
commit d0750c9d6e
4 changed files with 6 additions and 2 deletions

View File

@ -608,6 +608,10 @@ test_corruption (GZlibCompressorFormat format, gint level)
g_memory_output_stream_get_data_size (G_MEMORY_OUTPUT_STREAM (ostream2)));
g_assert (memcmp (data0, g_memory_output_stream_get_data (
G_MEMORY_OUTPUT_STREAM (ostream2)), DATA_LENGTH * sizeof (guint32)) == 0);
g_object_unref (istream1);
g_object_unref (decompressor);
g_object_unref (cistream1);
g_object_unref (ostream2);
}
typedef struct {

View File

@ -125,6 +125,8 @@ uri_LDADD = $(progs_ldadd)
TEST_PROGS += dir
dir_LDADD = $(progs_ldadd)
TEST_PROGS += pattern
pattern_LDADD = $(progs_ldadd)
if OS_UNIX
# some testing of gtester funcitonality

View File

@ -72,7 +72,6 @@ testglib_SOURCES = testglib.c
testglib_LDADD = $(libglib)
patterntest_LDADD = $(libglib)
testgdate_LDADD = $(libglib)
testgdateparser_LDADD = $(libglib)
unicode_normalize_LDADD = $(libglib)
@ -100,7 +99,6 @@ test_programs = \
markup-escape-test \
module-test \
onceinit \
patterntest \
asyncqueue-test \
qsort-test \
relation-test \