diff options
author | Dario Lombardo <lomato@gmail.com> | 2017-02-09 18:06:45 +0100 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2017-02-27 13:25:26 +0000 |
commit | a29fe9d76afe04ae80caebfb4239d3b5a8318183 (patch) | |
tree | 03404d190869439aebb119f1e58f0b82a4cee2dd /ui/win32 | |
parent | d4cf57100ce10930551b1985eac77e78bae6361d (diff) |
print_stream: free memory on exit.
Change-Id: I6c4acaa9026cfdf1d4230c28c30bccfb6c025cef
Reviewed-on: https://code.wireshark.org/review/19920
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'ui/win32')
-rw-r--r-- | ui/win32/file_dlg_win32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c index 7c25f16378..2f3a014c73 100644 --- a/ui/win32/file_dlg_win32.c +++ b/ui/win32/file_dlg_win32.c @@ -684,6 +684,7 @@ win32_export_file(HWND h_wnd, capture_file *cf, export_type_e export_type) { print_args.print_dissections = print_dissections_as_displayed; print_args.print_hex = FALSE; print_args.print_formfeed = FALSE; + print_args.stream = NULL; if (GetSaveFileName(ofn)) { print_args.file = utf_16to8(file_name); |