summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-23 01:19:19 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-06-07 05:03:02 +0200
commitbc0e7a03c0594fe298d277c4b0889ba55d6f5e7c (patch)
treea931dc244869fcfe5c71b92d3fb29da7e6a1728f /include
parentc45565b4f46ff9c5ebb4bbf5dfe09d0d77ceeec6 (diff)
Lsan: fix invalid memory access
The chart object can be destroyed after the context. Change-Id: I5ae370638f296ea314ee11680e0a8d81a8fdbe69
Diffstat (limited to 'include')
-rw-r--r--include/vcl/openglwin.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/openglwin.hxx b/include/vcl/openglwin.hxx
index e9b823e6a15a..8e34d0579521 100644
--- a/include/vcl/openglwin.hxx
+++ b/include/vcl/openglwin.hxx
@@ -24,6 +24,8 @@ public:
virtual ~IRenderer() {}
virtual void update() = 0;
virtual void clickedAt(const Point& rPos) = 0;
+
+ virtual void contextDestroyed() = 0;
};
// pImpl Pattern to avoid linking against OpenGL libs when using the class without the context