Skip to content
Snippets Groups Projects
Verified Commit bd9943a6 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Bytecode: fix memory leak in Evaluate class

The newly-created FBEGINBLOCK_ and FCALL_ instances were freed using a
base-class pointer. But the latter does not have a virtual destructor.

Those class instances are now stored by value in containers, so that the
destructor of the derived class is used.
parent 9e5bd756
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment