diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-11-02 22:07:58 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-07 13:57:59 +0100 |
commit | d2fb24b80aa85091b7efb15bf6e197011c023242 (patch) | |
tree | 53ca8ce5bfc0bbea1c6ca75e7c3a7279ad824407 /qmljs_runtime.h | |
parent | 8ca7b975ce8932af949397c89c82b06612a70c61 (diff) |
Fix free memory reads
This doesn't quite fix all issues, as activation records
and arguments objects will still not work correctly in
all cases (esp. the inplace operators).
Change-Id: I0ebf2a08e6c61e4049d4b6f449987757bfc3f81c
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qmljs_runtime.h')
-rw-r--r-- | qmljs_runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmljs_runtime.h b/qmljs_runtime.h index 2d1f1cdcdf..702d8dc204 100644 --- a/qmljs_runtime.h +++ b/qmljs_runtime.h @@ -572,7 +572,7 @@ struct Context { unsigned int varCount; int calledAsConstructor; - Value *lookupPropertyDescriptor(String *name); + PropertyDescriptor *lookupPropertyDescriptor(String *name, PropertyDescriptor *tmp); inline Value argument(unsigned int index = 0) { |