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.
This commit is contained in:
marko 2009-02-03 07:52:45 +00:00
parent f43b923008
commit ec52bf522a

View file

@ -478,7 +478,7 @@ mem_area_free(
ulint n;
if (srv_use_sys_malloc) {
ut_free(ptr);
free(ptr);
return;
}