mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-07 11:01:57 +08:00
cleanup
This commit is contained in:
@@ -1472,7 +1472,7 @@ void mg_slice_debug_tree_statistics (void)
|
||||
su / bf, en, ex);
|
||||
}
|
||||
else
|
||||
_MG_PRINTF("MGSlice: MemChecker: root=NULL\n");
|
||||
_DBG_PRINTF("MGSlice: MemChecker: root=NULL\n");
|
||||
|
||||
pthread_mutex_unlock (&smc_tree_mutex);
|
||||
|
||||
|
||||
@@ -1870,13 +1870,13 @@ void GAL_FreeSurface (GAL_Surface *surface)
|
||||
|
||||
#ifdef _MGUSE_PIXMAN
|
||||
if (surface->pix_img) {
|
||||
_WRN_PRINTF ("There is not cleaned up blitting pixel image: %p\n", surface->pix_img);
|
||||
_DBG_PRINTF ("There is not cleaned up blitting pixel image: %p\n", surface->pix_img);
|
||||
pixman_image_unref (surface->pix_img);
|
||||
surface->pix_img = NULL;
|
||||
}
|
||||
|
||||
if (surface->msk_img) {
|
||||
_WRN_PRINTF ("There is not cleaned up blitting mask image: %p\n", surface->msk_img);
|
||||
_DBG_PRINTF ("There is not cleaned up blitting mask image: %p\n", surface->msk_img);
|
||||
pixman_image_unref (surface->msk_img);
|
||||
surface->msk_img = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user