Skip to content

Commit

Permalink
デバグオプションを設定したとき実行時に警告が出ないよう修正
Browse files Browse the repository at this point in the history
- #314を調査していた時、ASanをenableにしたときに検出された
  • Loading branch information
zmatsuo committed Sep 23, 2024
1 parent 8b2aa51 commit 56367b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ttssh2/ttxssh/ttxssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -1369,6 +1369,7 @@ static INT_PTR CALLBACK TTXHostDlg(HWND dlg, UINT msg, WPARAM wParam, LPARAM lPa
case WM_DESTROY:
ComPortInfoFree(dlg_data->ComPortInfoPtr, dlg_data->ComPortInfoCount);
free(dlg_data);
SetWindowLongPtrW(dlg, DWLP_USER, NULL);
break;
}
return FALSE;
Expand Down

0 comments on commit 56367b9

Please sign in to comment.