From 207a1395e10cbce4f9ec3baa33a649fb9a151a27 Mon Sep 17 00:00:00 2001 From: bertrand Date: Wed, 8 Mar 2000 19:53:31 +0000 Subject: plug mem leaks due to bad documentation of 2000-03-07 bertrand * camel-formatter.c (handle_mime_part): plug mem leaks due to bad documentation of camel_content_field_get_mime_type (print_camel_body_part): idem (handle_multipart_alternative): idem * gmime-content-field.c (gmime_content_field_get_mime_type): documentation fix. * camel-mime-part.c (my_finalize): unref the content_input_stream if any. * shell/e-shell-shortcut.c (shortcut_bar_item_selected): removed a test that prevented the standard menu to be shown. svn path=/trunk/; revision=2089 --- camel/gmime-content-field.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/gmime-content-field.c') diff --git a/camel/gmime-content-field.c b/camel/gmime-content-field.c index bec9721e0a..263484fc9b 100644 --- a/camel/gmime-content-field.c +++ b/camel/gmime-content-field.c @@ -211,7 +211,7 @@ gmime_content_field_write_to_stream (GMimeContentField *content_field, CamelStre * A RFC 2045 content type field contains the mime type in the * form "type/subtype" (example : "application/postscript") and some * parameters (attribute/value pairs). This routine returns the mime type - * in a gchar object. + * in a gchar object. THIS OBJECT MUST BE FREED BY THE CALLER. * * Return value: the mime type in the form "type/subtype" or NULL if not defined. **/ -- cgit v1.2.3