AP_free

free a message buffer

Synopsis

#include "autopack.h"

void AP_free(void *buf)

SUBROUTINE AP_FREE(buf)
INTEGER buf

Parameters

buf
the buffer to free (in Fortran, the descriptor)

Return Value

None

Description

Call this function to free message buffer space allocated by AP_recv().

Note that in the Fortran binding, it is not necessary to call this after AP_COPY_FREE() since that function frees that buffer before returning. However, this function may be of use in case the user wants to free the message without actually accessing it.