Frees memory allocated for diagnostic log entry.
#include <diag/diag_log.h> int dlog_freeEntry(int version, void *dlogEntry)
The dlog_freeEntry subroutine frees all the memory allocated for the specified entry. The version determines which entry structure is being passed.
| Parameter | Description |
|---|---|
| version | Entry version (LATEST_ENTRY_VER is the latest version that corresponds to the dlEntry structure) |
| dlogEntry | Pointer to diagnostic log entry |
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned.