Skip to content

Commit

Permalink
Don't call 'delete [] p' on void pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
jandubois committed Jan 18, 2011
1 parent ab2529a commit 3f30595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CWinStation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ ALERT( "[CWinStation::AddSecurityPrivileges] Populating new DACL.\n" );
}
}
}
delete [] pSd;
delete [] pNewSd;
delete [] (BYTE*)pSd;
delete [] (BYTE*)pNewSd;

return( bResult );
}
Expand Down

0 comments on commit 3f30595

Please sign in to comment.