MCPcopy Create free account
hub / github.com/apache/cloudberry / PQfreemem

Function PQfreemem

src/interfaces/libpq/fe-exec.c:3834–3838  ·  view source on GitHub ↗

* PQfreemem - safely frees memory allocated * * Needed mostly by Win32, unless multithreaded DLL (/MD in VC6) * Used for freeing memory from PQescapeBytea()/PQunescapeBytea() */

Source from the content-addressed store, hash-verified

3832 * Used for freeing memory from PQescapeBytea()/PQunescapeBytea()
3833 */
3834void
3835PQfreemem(void *ptr)
3836{
3837 free(ptr);
3838}
3839
3840/*
3841 * PQfreeNotify - free's the memory associated with a PGnotify

Callers 15

vacuumloFunction · 0.85
dblink_get_notifyFunction · 0.85
libpqrcv_check_conninfoFunction · 0.85
libpqrcv_startstreamingFunction · 0.85
libpqrcv_disconnectFunction · 0.85
libpqrcv_receiveFunction · 0.85
cdbCopyGetDataFunction · 0.85
cdbCopyEndInternalFunction · 0.85
cdbconn_discardResultsFunction · 0.85
processResultsFunction · 0.85
cdbdisp_resetResultFunction · 0.85

Calls

no outgoing calls

Tested by 4

try_complete_stepFunction · 0.68
escape_literalFunction · 0.68
escape_identifierFunction · 0.68
mainFunction · 0.68