don't pass DISPLAY_OPT as a pointer to avoid NULL pointer deref

This commit is contained in:
Chris Danford
2005-11-22 21:14:48 +00:00
parent dbbb29bb05
commit 100ce95f14
5 changed files with 31 additions and 30 deletions
+1 -1
View File
@@ -959,7 +959,7 @@ bool Profile::SaveStatsXmlToDir( CString sDir, bool bSignData ) const
DISP_OPT opts;
opts.stylesheet = STATS_XSL;
opts.write_tabs = false;
bool bSaved = xml->SaveToFile(fn, &opts);
bool bSaved = xml->SaveToFile( fn, opts );
SAFE_DELETE( xml );