diff options
Diffstat (limited to 'camel/tests/lib/messages.c')
-rw-r--r-- | camel/tests/lib/messages.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/tests/lib/messages.c b/camel/tests/lib/messages.c index a8c8b30465..21d77582ad 100644 --- a/camel/tests/lib/messages.c +++ b/camel/tests/lib/messages.c @@ -115,6 +115,7 @@ test_message_read_file(const char *name) camel_data_wrapper_construct_from_stream((CamelDataWrapper *)msg2, (CamelStream *)file); /* file's refcount may be > 1 if the message is real big */ check(CAMEL_OBJECT(file)->ref_count >=1); + camel_object_unref((CamelObject *)file); return msg2; } |