Free memory allocated during a diagnostic event log query.
#include <diag/diag_log.h> int dlog_query_cleanup(query_results *results)
The dlog_query_cleanup subroutine reclaims memory allocated during calls to dlog_query.
results | Structure containing a pointer to a list of entries matching the input criteria. |
The dlog_query_cleanup subroutine returns one of the following values:
0 | If successful |
-1 | If unsuccessful |