From 60733d98dff3ff5f8e95c514af258498aa7aa014 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 24 Jan 2005 21:00:03 +0000 Subject: memory leak fix --- diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 42b36f1..5864ce4 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt @@ -25,8 +25,8 @@ mail viewer when fetching them from the imap server directly to read them. Made it (configurable) possible to show the "To:" field in the list view. Added to the mail viewer the option "View Source" to make it possible to see the raw mail data. Added a "Download Mail" button to the mail viewer to quickly download the viewed mail to the -local storage folder (specified in account setiings) of the account of the mail. - +local storage folder (specified in account settings) of the account of the mail. +Removed some memory leaks in OM/Pi. ********** VERSION 1.9.19 ************ diff --git a/kmicromail/libetpan/mh/mailmh.c b/kmicromail/libetpan/mh/mailmh.c index 1087ce1..2d1f26d 100644 --- a/kmicromail/libetpan/mh/mailmh.c +++ b/kmicromail/libetpan/mh/mailmh.c @@ -921,6 +921,9 @@ int mailmh_folder_remove_message(struct mailmh_folder * folder, #endif chash_delete(folder->fl_msgs_hash, &key, NULL); } + // LR + mailmh_msg_info_free( msg_info ); + free(filename); return MAILMH_NO_ERROR; -- cgit v0.9.0.2