Mercurial > octave-nkf
changeset 14926:aebd296a15c4
Prevent double release of input arguments in JIT
author | Max Brister <max@2bass.com> |
---|---|
date | Tue, 29 May 2012 13:51:02 -0500 |
parents | 8697e3e9d77a |
children | 3b40dbc14572 |
files | src/pt-jit.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-jit.h Tue May 29 12:07:26 2012 -0500 +++ b/src/pt-jit.h Tue May 29 13:51:02 2012 -0500 @@ -1526,7 +1526,7 @@ void track_value (jit_value *value) { - if (value->type ()) + if (value->type () && ! dynamic_cast<jit_instruction *>(value)) constants.push_back (value); all_values.push_back (value); }