This commit is contained in:
Glenn Maynard
2006-02-14 04:48:38 +00:00
parent 1670d7cdac
commit 62ad8d69f7
@@ -747,16 +747,15 @@ bool CrashDialog::HandleMessage( UINT msg, WPARAM wParam, LPARAM lParam )
if( sError.empty() && sResult.empty() )
sError = "No data received";
SAFE_DELETE( m_pPost );
if( !sError.empty() )
{
SetDialogInitial();
SetWindowText( GetDlgItem(hDlg, IDC_MAIN_TEXT), ERROR_SENDING_REPORT.GetValue() );
SAFE_DELETE( m_pPost );
break;
}
SAFE_DELETE( m_pPost );
PARSEINFO pi;
XNode xml;
xml.Load( sResult, &pi );