Snmpv3FreeDynAllocMem Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Snmpv3FreeDynAllocMem Function
C
void Snmpv3FreeDynAllocMem();
Description

On the successful completion of the processing of the SNMPv3 request, or the failure in the processing due to improper PDU formats, the allocated dynamic memory is required to be freed. This routine calls the free(), to deallocate memory.

Preconditions

The dyanmic memory buffer is allocated.

Remarks

The SNMPv3 stack does uses the dynamic memory extensively for different processing needs, hence incoming and outgoing pdu memory buffers are created. This routine checks for the memory is being allocated before it attempts for the deallocation.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.