mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-23865 Create malloc function attribute
This commit is contained in:
committed by
Daniel Black
parent
cee9b3b850
commit
26b96094ec
@@ -62,6 +62,7 @@ void set_malloc_size_cb(MALLOC_SIZE_CB func)
|
||||
|
||||
@return A pointer to the allocated memory block, or NULL on failure.
|
||||
*/
|
||||
ATTRIBUTE_MALLOC
|
||||
void *my_malloc(PSI_memory_key key, size_t size, myf my_flags)
|
||||
{
|
||||
my_memory_header *mh;
|
||||
|
Reference in New Issue
Block a user