mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
fixing bug with image recreation
This commit is contained in:
@@ -40,6 +40,8 @@ namespace mlx
|
||||
|
||||
void MemManager::Free(void* ptr)
|
||||
{
|
||||
if(ptr == nullptr)
|
||||
return;
|
||||
auto it = std::find(s_blocks.begin(), s_blocks.end(), ptr);
|
||||
if(it == s_blocks.end())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user