From 0799a22ac5abcb4df79d0ac53ff299d85bdba05a Mon Sep 17 00:00:00 2001
From: Charles Yin <charles.yin@nokia.com>
Date: Tue, 29 May 2012 10:32:56 +1000
Subject: [PATCH] Add missing unintialized member in QV8Context2DResource

Change-Id: Id00122fc018cc57f9985163bcdda5d1e036e46d5
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
---
 src/quick/items/context2d/qquickcontext2d.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/quick/items/context2d/qquickcontext2d.cpp b/src/quick/items/context2d/qquickcontext2d.cpp
index abc644fe2f..11bc8ea4b8 100644
--- a/src/quick/items/context2d/qquickcontext2d.cpp
+++ b/src/quick/items/context2d/qquickcontext2d.cpp
@@ -232,7 +232,7 @@ class QV8Context2DResource : public QV8ObjectResource
 {
     V8_RESOURCE_TYPE(Context2DType)
 public:
-    QV8Context2DResource(QV8Engine *e) : QV8ObjectResource(e) {}
+    QV8Context2DResource(QV8Engine *e) : QV8ObjectResource(e), context(0) {}
     QQuickContext2D* context;
 };
 
-- 
GitLab