Commit 2ea55c27 authored by Paul Eggert's avatar Paul Eggert

Fix double-free in pdumper

Revert the double-free bug that I introduced in
2019-03-11T15:20:54Z!eggert@cs.ucla.edu.
* src/pdumper.c (dump_mmap_reset): Do not free the private member;
that’s the release function’s job.
(dump_mm_heap_cb_release): Free cb if its refcount goes to zero.
(dump_mmap_contiguous_heap): Mention memory leak in comment.
parent d9664f0d
Pipeline #1391 passed with stage
in 50 minutes and 48 seconds