mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix for orbital bug: using delete for memory created by minz.
This commit is contained in:
parent
70fa85d024
commit
27b7e7c6a9
2 changed files with 13 additions and 2 deletions
|
@ -246,4 +246,9 @@ RawBytes Raster::save(Raster::Compression comp)
|
|||
return std::move(ret);
|
||||
}
|
||||
|
||||
void RawBytes::MinzDeleter::operator()(uint8_t *rawptr)
|
||||
{
|
||||
MZ_FREE(rawptr);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue