Mercurial > mm7
diff Render.cpp @ 2370:bbf8a522dcec
removing non-nullptr conditions before deletes
author | Grumpy7 |
---|---|
date | Mon, 12 May 2014 01:55:23 +0200 |
parents | bddcaf5d5db2 |
children | 2fe8feb3dcd1 |
line wrap: on
line diff
--- a/Render.cpp Mon May 12 01:50:32 2014 +0200 +++ b/Render.cpp Mon May 12 01:55:23 2014 +0200 @@ -759,8 +759,7 @@ { delete [] v20.pDriverName; delete [] v20.pDeviceDesc; - if ( v20.pGUID ) - delete v20.pGUID; + delete v20.pGUID; } else { @@ -768,8 +767,7 @@ { delete [] v20.pDriverName; delete [] v20.pDeviceDesc; - if ( v20.pGUID ) - delete v20.pGUID; + delete v20.pGUID; v6 = (IUnknown *)pDirectDraw; } else