Core: Apply patch from Bryce Poole to fix a new deallocation bug in local memory surface pool in certain cases.
Core: Apply patch from Bryce Poole to fix a new deallocation bug in local memory surface pool in certain cases.

When the system align and pitch options are enabled, the system will allocate using posix_memalign otherwise
D_MALLOC is called. If in a debug build, D_MALLOC adds a description to the beginning of the memory and requires
D_FREE. The patch calls "free" for malloc'd surfaces and D_FREE for D_MALLOC's surfaces.

sklnet/DirectFB,kaostao/directfb,DirectFB/directfb,mtsekm/test,deniskropp/DirectFB,kaostao/directfb,kevleyski/DirectFB-1,lancebaiyouview/DirectFB,lancebaiyouview/DirectFB,dfbdok/DirectFB1,DirectFB/directfb,djbclark/directfb-core-DirectFB,jcdubois/DirectFB,mtsekm/test,deniskropp/DirectFB,Distrotech/DirectFB,dfbdok/DirectFB1,kevleyski/directfb,dfbdok/DirectFB1,jcdubois/DirectFB,deniskropp/DirectFB,kevleyski/DirectFB-1,lancebaiyouview/DirectFB,djbclark/directfb-core-DirectFB,jcdubois/DirectFB,kaostao/directfb,sklnet/DirectFB,sklnet/DirectFB,lancebaiyouview/DirectFB,mtsekm/test,kevleyski/DirectFB-1,deniskropp/DirectFB,Distrotech/DirectFB,djbclark/directfb-core-DirectFB,kevleyski/directfb,sklnet/DirectFB,djbclark/directfb-core-DirectFB,DirectFB/directfb,kevleyski/directfb,kevleyski/directfb,kevleyski/DirectFB-1,Distrotech/DirectFB