diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-08-18 01:44:00 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-18 01:44:00 +0800 |
commit | 08752e1b538c47f74714199eed76e9cda61c256f (patch) | |
tree | 225c875e5cdf011966498dd0540c75066609fe29 /tests | |
parent | 8efa5bea5494312b98c70c347cc7df84564eb86f (diff) | |
download | gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.gz gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.bz2 gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.lz gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.xz gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.zst gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.zip |
return the number of bytes read. How can this have ever worked ?
1999-08-17 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-stream.c (camel_stream_read):
return the number of bytes read.
How can this have ever worked ?
(camel_stream_flush): don't return anything.
* camel/gmime-utils.c (get_header_table_from_stream):
mem leak fixed.
+ various other mem leaks.
svn path=/trunk/; revision=1120
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test2.c b/tests/test2.c index c120d558d6..5b4e319c5d 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -32,10 +32,14 @@ main (int argc, char**argv) camel_data_wrapper_construct_from_stream ( CAMEL_DATA_WRAPPER (message), input_stream); camel_stream_close (input_stream); + gtk_object_unref (GTK_OBJECT (input_stream)); output_stream = camel_stream_fs_new_with_name ("mail2.test", CAMEL_STREAM_FS_WRITE); camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), output_stream); camel_stream_close (output_stream); + gtk_object_unref (GTK_OBJECT (output_stream)); + + gtk_object_unref (GTK_OBJECT (message)); return 0; |