]> git.eshelyaron.com Git - emacs.git/commit
Zero stale pointer when unloading comp units (bug#46256)
authorPip Cet <pipcet@gmail.com>
Sun, 7 Mar 2021 21:26:29 +0000 (21:26 +0000)
committerAndrea Corallo <akrl@sdf.org>
Tue, 9 Mar 2021 08:25:27 +0000 (09:25 +0100)
commit93f92cf1ba37f8b9abaee4b9487705bae464c4e0
tree5d1c5111b79b5cedeba1d5098e560946986cd9af
parent15aa239ba058ef02544e5dfaf066bd985d9b2f4f
Zero stale pointer when unloading comp units (bug#46256)

* src/alloc.c (cleanup_vector): Call unload_comp_unit.
* src/comp.c (unload_comp_unit): New function.
src/alloc.c
src/comp.c
src/comp.h