Skip to content
Snippets Groups Projects
Commit a04bd1a5 authored by dtc's avatar dtc
Browse files

The alien object finalizer was being placed on the alien info, but

this info may be shared among many alien objects making cancellation
of the finalisation upon alien object deallocation
problematic. Probably for this reason this cancellation had been
disabled, however this often resulted in objects being freed twice and
possibly live objects being freed. To fix this, the finalizer is now
placed on the alien object rather than the alien info, and this
finalizer is cancelled before the deallocation of the alien object to
prevent repeated freeing. Problem tracked down thanks to a bug report
and some experimentation by Andrei V. Elkin.
parent 2a747380
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment