Displaying 1 result from an estimated 1 matches for "mail_index_unlock".
2008 Mar 08
2
suspect valgrind error in mail-index-map.c
...oc(map);
1115
1116 mail_index_map_copy_records(new_map, map->rec_map,
1117 map->hdr.record_size);
1118 mail_index_map_copy_header(map, map);
1119
1120 if (new_map != map->rec_map) {
1121 mail_index_record_map_unlink(map);
1122 map->rec_map = new_map;
1123 } else {
1124 mail_index_unlock(map->index, &new_map->lock_id);
1125 if (munmap(new_map->mmap_base, new_map->mmap_size) < 0)
1126 mail_index_set_syscall_error(map->index, "munmap()");
1127 new_map->mmap_base = NULL;
1128 }
1129 }