author | zautrix <zautrix> | 2004-12-04 14:45:53 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-12-04 14:45:53 (UTC) |
commit | b417f02504c962f692dad0b5e043243193b9f871 (patch) (side-by-side diff) | |
tree | 0bd35e0916be791f5c21c012a0ad9ba9326857f9 /kmicromail | |
parent | a3b1470f3da722d044505f78bef9de51b2107802 (diff) | |
download | kdepimpi-b417f02504c962f692dad0b5e043243193b9f871.zip kdepimpi-b417f02504c962f692dad0b5e043243193b9f871.tar.gz kdepimpi-b417f02504c962f692dad0b5e043243193b9f871.tar.bz2 |
comments added
-rw-r--r-- | kmicromail/libetpan/mh/mailmh.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kmicromail/libetpan/mh/mailmh.c b/kmicromail/libetpan/mh/mailmh.c index 5e2b4cc..1087ce1 100644 --- a/kmicromail/libetpan/mh/mailmh.c +++ b/kmicromail/libetpan/mh/mailmh.c @@ -390,24 +390,29 @@ int mailmh_folder_update(struct mailmh_folder * folder) key.data = &msg_info->msg_index; key.len = sizeof(msg_info->msg_index); data.data = msg_info; data.len = 0; r = chash_set(folder->fl_msgs_hash, &key, &data, NULL); if (r < 0) { carray_delete_fast(folder->fl_msgs_tab, msg_info->msg_array_index); mailmh_msg_info_free(msg_info); res = MAILMH_ERROR_MEMORY; goto closedir; } + //LR memory leak? added next line + //mailmh_msg_info_free(msg_info); + //it seems so that it should be freed later, + // but it is not in every case + //PENDING fixme in ompi somewhere } } else if (S_ISDIR(buf.st_mode)) { struct mailmh_folder * subfolder; unsigned int array_index; chashdatum key; chashdatum data; if (ent->d_name[0] == '.') { if (ent->d_name[1] == 0) continue; if ((ent->d_name[1] == '.') && (ent->d_name[2] == 0)) |