Commit a83ad6f1 authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Fix bitmap memory leak.

parent fcfbb621
Pipeline #96 passed with stage
......@@ -77,5 +77,6 @@ uint32_t Bitmap_sum_zeros(Bitmap *bitmap, uint32_t start, uint32_t length)
bool Bitmap_destroy(Bitmap *bitmap)
{
free(bitmap->data);
free(bitmap);
return true;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment