This commit is contained in:
Vincent Wei
2022-09-26 09:45:36 +08:00
parent 4b2503e614
commit 07f226f024

View File

@@ -323,13 +323,13 @@ static void DUMMY_VideoQuit(_THIS)
if (mgIsServer) {
shm_unlink (DUMMYVID_SHAREDMEM_NAME);
}
#else
#elif !defined(_MGRM_PROCESSES)
if (this->screen->pixels != NULL) {
#if !defined(_MGRM_PROCESSES)
free (this->screen->pixels);
#endif
this->screen->pixels = NULL;
}
#else
// do nothing (COMPOSITING_SCHEMA)
#endif /* not (defined(_MGRM_PROCESSES) && defined (_MGSCHEMA_SHAREDFB)) */
}