From: Steinar H. Gunderson Date: Fri, 17 Feb 2012 23:33:15 +0000 (+0100) Subject: Fix a mismatched new[]/delete. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=e919c30db9bc56b9b56668892ec3247696095928;p=ccbs Fix a mismatched new[]/delete. --- diff --git a/bigscreen/rotatescreen.cpp b/bigscreen/rotatescreen.cpp index c2285ae..e7d2bd4 100644 --- a/bigscreen/rotatescreen.cpp +++ b/bigscreen/rotatescreen.cpp @@ -11,7 +11,7 @@ RotateScreen::RotateScreen() RotateScreen::~RotateScreen() { - delete fadefrom_buf; + delete[] fadefrom_buf; } bool RotateScreen::check_invalidated()