MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / my_free

Function my_free

mysys/my_malloc.c:136–142  ·  view source on GitHub ↗

Free memory allocated with my_malloc. @remark Relies on free being able to handle a NULL argument. @param ptr Pointer to the memory allocated by my_malloc. */

Source from the content-addressed store, hash-verified

134 @param ptr Pointer to the memory allocated by my_malloc.
135*/
136void my_free(void *ptr)
137{
138 DBUG_ENTER("my_free");
139 DBUG_PRINT("my",("ptr: %p", ptr));
140 free(ptr);
141 DBUG_VOID_RETURN;
142}
143
144
145void *my_memdup(const void *from, size_t length, myf my_flags)

Callers 15

create_shared_memoryFunction · 0.85
free_rowsFunction · 0.85
mysql_free_resultFunction · 0.85
add_init_commandFunction · 0.85
mysql_ssl_freeFunction · 0.85
client.cFile · 0.85
mysql_select_dbFunction · 0.85
mysql_close_free_optionsFunction · 0.85
mysql_close_freeFunction · 0.85
mysql_closeFunction · 0.85

Calls

no outgoing calls

Tested by 1

free_recordFunction · 0.68