file: free memory on exit (found by clang).
Change-Id: I8d57ae2f6aa114f64d7cd11ca63ce6ae88fd4b68 Reviewed-on: https://code.wireshark.org/review/25385 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
6d82ea91fd
commit
3438092b27
4
file.c
4
file.c
@ -2373,8 +2373,10 @@ cf_print_packets(capture_file *cf, print_args_t *print_args,
|
||||
}
|
||||
|
||||
/* if num_visible_col is 0, we are done */
|
||||
if (num_visible_col == 0)
|
||||
if (num_visible_col == 0) {
|
||||
g_free(callback_args.header_line_buf);
|
||||
return CF_PRINT_OK;
|
||||
}
|
||||
|
||||
/* Find the widths for each of the columns - maximum of the
|
||||
width of the title and the width of the data - and construct
|
||||
|
Loading…
x
Reference in New Issue
Block a user