Cleanup: style, use braces for imbuf

This commit is contained in:
2019-04-23 11:01:30 +10:00
parent ac53291e1f
commit 64b4b719eb
42 changed files with 1760 additions and 883 deletions

View File

@@ -51,8 +51,9 @@ void Image::allocate(uint w, uint h)
void Image::free()
{
if (m_data)
if (m_data) {
delete[] m_data;
}
m_data = NULL;
}