Properly null CmpLog map in deinit (#1395)

Co-authored-by: van Hauser <vh@thc.org>
This commit is contained in:
che30122
2022-04-28 15:42:49 +08:00
committed by GitHub
parent ee409d18a6
commit 01594dc416
2 changed files with 3 additions and 1 deletions

View File

@ -107,7 +107,7 @@ void afl_shm_deinit(sharedmem_t *shm) {
if (shm->cmp_map != NULL) {
munmap(shm->cmp_map, shm->map_size);
shm->map = NULL;
shm->cmp_map = NULL;
}