diff options
Diffstat (limited to 'camel/camel-data-wrapper.c')
-rw-r--r-- | camel/camel-data-wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c index 0c330c890f..1cf79a70e4 100644 --- a/camel/camel-data-wrapper.c +++ b/camel/camel-data-wrapper.c @@ -363,7 +363,7 @@ camel_data_wrapper_get_mime_type_field (CamelDataWrapper *data_wrapper) static void my_set_mime_type_field (CamelDataWrapper *data_wrapper, GMimeContentField *mime_type) { - if (data_wrapper->mime_type) gmime_content_field_free (data_wrapper->mime_type); + if (data_wrapper->mime_type) gmime_content_field_unref (data_wrapper->mime_type); data_wrapper->mime_type = mime_type; } |