void * snmpdMemoryAlloc ( size_t size )
This routine allocates memory for the SNMP agent. The required size of the block is passed in size. This memory must be deallocated later with snmpdMemoryFree( ).
A pointer to the allocated buffer on success, otherwise NULL.
snmpIoLib, snmpdMemoryFree( )