diff options
-rw-r--r-- | cpukit/libmisc/capture/capture_support.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libmisc/capture/capture_support.c b/cpukit/libmisc/capture/capture_support.c index bdfd37b078..a33aa2dcb8 100644 --- a/cpukit/libmisc/capture/capture_support.c +++ b/cpukit/libmisc/capture/capture_support.c @@ -154,6 +154,7 @@ rtems_capture_print_trace_records ( int total, bool csv ) { fprintf (stdout, "error: trace read failed: %s\n", rtems_status_text (sc)); rtems_capture_flush (0); + free( per_cpu ); return; } /* Release the buffer if there are no records to read */ |