diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-11-06 16:03:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 16:03:31 +0200 |
commit | 9d142cb7ec175a8394f47aee61ca8a1951dd6170 (patch) | |
tree | 78703102c9d03c9d5dc6e1f3cb21c0164d8c11e3 /kms++util/src | |
parent | d29da28c7f2a0212d834136fe64fb8ca96a0a235 (diff) | |
parent | 2d6b5b2a4554f64513539d8d60891792e9760487 (diff) |
Merge pull request #39 from dreamer-dead/fix-delete-operator-upstream
Use correct operator delete[] to free buffers in CPUFramebuffer
Diffstat (limited to 'kms++util/src')
-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; } } |