Update LEGO1/mxdirectdraw.cpp

Co-authored-by: MattKC <34096995+itsmattkc@users.noreply.github.com>
This commit is contained in:
Roman Masanin 2023-07-12 00:04:28 +02:00 committed by GitHub
parent 77b91dfed9
commit 61414ef82c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,12 +34,12 @@ MxDirectDraw::DeviceModesInfo::~DeviceModesInfo()
{
if (p_guid != NULL)
{
free(p_guid);
delete p_guid;
}
if (m_mode_ARRAY != NULL)
{
free(m_mode_ARRAY);
delete m_mode_ARRAY;
}
}