Skip to content

Commit

Permalink
Added opensdf files to gitignore, fixed a leak of D3DXLines on gamestart
Browse files Browse the repository at this point in the history
  • Loading branch information
tec27 committed Aug 11, 2010
1 parent b7ec599 commit f2f1df5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
*.exe
*.dll
*.sdf
*.opensdf
2 changes: 2 additions & 0 deletions APMAlert2/APMAlert2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,10 @@ void HookThread::Execute(void * data) {
apmOptions = LoadAPMAlertOptions();
if(pApmFont != NULL) pApmFont->Release();
if(pClockFont != NULL) pClockFont->Release();
if(pLine != NULL) pLine->Release();
pApmFont = NULL;
pClockFont = NULL;
pLine = NULL;
initializeAPMCalculator();
minPassed = false;
WriteHooks();
Expand Down

0 comments on commit f2f1df5

Please sign in to comment.