diff options
author | dreamer.dead <dreamer.dead@gmail.com> | 2019-11-06 15:04:54 +0300 |
---|---|---|
committer | dreamer.dead <dreamer.dead@gmail.com> | 2019-11-06 16:27:39 +0300 |
commit | 2d6b5b2a4554f64513539d8d60891792e9760487 (patch) | |
tree | 78703102c9d03c9d5dc6e1f3cb21c0164d8c11e3 /kms++util | |
parent | d29da28c7f2a0212d834136fe64fb8ca96a0a235 (diff) |
Use [] operator delete to free CPUFramebuffer buffers
Diffstat (limited to 'kms++util')
-rw-r--r-- | kms++util/src/cpuframebuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kms++util/src/cpuframebuffer.cpp b/kms++util/src/cpuframebuffer.cpp index d356596..33f8f97 100644 --- a/kms++util/src/cpuframebuffer.cpp +++ b/kms++util/src/cpuframebuffer.cpp @@ -29,7 +29,7 @@ CPUFramebuffer::~CPUFramebuffer() for (unsigned i = 0; i < m_num_planes; ++i) { FramebufferPlane& plane = m_planes[i]; - delete plane.map; + delete [] plane.map; } } |