aboutsummaryrefslogtreecommitdiffstats
path: root/qmljs_runtime.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-11-02 22:07:58 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2012-11-07 13:57:59 +0100
commitd2fb24b80aa85091b7efb15bf6e197011c023242 (patch)
tree53ca8ce5bfc0bbea1c6ca75e7c3a7279ad824407 /qmljs_runtime.h
parent8ca7b975ce8932af949397c89c82b06612a70c61 (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.h2
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)
{