summaryrefslogtreecommitdiffstats
path: root/storage/perfschema/unittest/stub_pfs_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/unittest/stub_pfs_global.h')
-rw-r--r--storage/perfschema/unittest/stub_pfs_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/perfschema/unittest/stub_pfs_global.h b/storage/perfschema/unittest/stub_pfs_global.h
index 4b792f9b..e6876dcc 100644
--- a/storage/perfschema/unittest/stub_pfs_global.h
+++ b/storage/perfschema/unittest/stub_pfs_global.h
@@ -58,7 +58,7 @@ void *pfs_malloc(PFS_builtin_memory_class *klass, size_t size, myf)
void pfs_free(PFS_builtin_memory_class *, size_t, void *ptr)
{
if (ptr != NULL)
- free(ptr);
+ aligned_free(ptr);
}
void *pfs_malloc_array(PFS_builtin_memory_class *klass, size_t n, size_t size, myf flags)