mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
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:
parent
f43b923008
commit
ec52bf522a
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ mem_area_free(
|
|||
ulint n;
|
||||
|
||||
if (srv_use_sys_malloc) {
|
||||
ut_free(ptr);
|
||||
free(ptr);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue