summaryrefslogtreecommitdiff
path: root/plugingui/pixelbuffer.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-23 22:16:08 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-23 22:16:08 +0200
commit89a909599b8e9747717419ebbda5796471aada27 (patch)
tree23d5f473d50a32c68cc643d0c3c2ea13ae5a1dcb /plugingui/pixelbuffer.h
parentd52edef797460922abbe25cd36f04a3086d0267d (diff)
Fix memory leak.
Diffstat (limited to 'plugingui/pixelbuffer.h')
-rw-r--r--plugingui/pixelbuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/pixelbuffer.h b/plugingui/pixelbuffer.h
index 2b73503..2785eb1 100644
--- a/plugingui/pixelbuffer.h
+++ b/plugingui/pixelbuffer.h
@@ -36,6 +36,7 @@ namespace GUI {
class PixelBuffer {
public:
PixelBuffer(size_t width, size_t height);
+ ~PixelBuffer();
void realloc(size_t width, size_t height);
@@ -53,6 +54,7 @@ public:
class PixelBufferAlpha {
public:
PixelBufferAlpha(size_t width, size_t height);
+ ~PixelBufferAlpha();
int idx;
size_t x, y;