diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 173: SceneBuffer: Properly initialize WaveMesh pointer.

Message ID 20111209133722.17810.53170.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org Dec. 9, 2011, 1:37 p.m. UTC
------------------------------------------------------------
revno: 173
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Thu 2011-12-08 15:15:50 +0200
message:
  SceneBuffer: Properly initialize WaveMesh pointer.
modified:
  src/scene-buffer.cpp


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'src/scene-buffer.cpp'
--- src/scene-buffer.cpp	2011-11-11 11:07:15 +0000
+++ src/scene-buffer.cpp	2011-12-08 13:15:50 +0000
@@ -294,6 +294,7 @@ 
 
 struct SceneBufferPrivate {
     WaveMesh *wave;
+    SceneBufferPrivate() : wave(0) {}
     ~SceneBufferPrivate() { delete wave; }
 };