Commit ec52bf52 authored by marko's avatar marko

branches/zip: mem_area_free(): Correct a bug that was introduced in r4088.

free() is not the same as ut_free().  ut_free() pairs with ut_malloc(),
not malloc().  free() pairs with malloc() and some other functions.
parent f43b9230
......@@ -478,7 +478,7 @@ mem_area_free(
ulint n;
if (srv_use_sys_malloc) {
ut_free(ptr);
free(ptr);
return;
}
......
Markdown is supported
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