mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Don't leak in converter test
This commit is contained in:
parent
63bdeb0dab
commit
d0750c9d6e
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user