print_stream: free memory on exit.
[metze/wireshark/wip.git] / ui / win32 / file_dlg_win32.c
index 7c25f163789bad3a43a1560e79c6ad9ba3c5080b..2f3a014c7397717757aa34451102216244147c22 100644 (file)
@@ -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);