This commit is contained in:
Vincent Wei
2021-06-07 15:48:43 +08:00
parent d6933b83e3
commit 96b75c41c1
2 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -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;
}