is this properly released? or do i need to do more?
Code:typedef void(Object::*Event)(void*)); //pointer to function Event *events = new Event[size]; //array of these pointers //some other code if(events != NULL) delete  events;
or this one?
because there's a pretty good chance they're leaking.Code:LPD3DXMESH* ppMeshTemp = new LPD3DXMESH; LPD3DXMESH* meshes = new LPD3DXMESH; meshes = *ppMeshTemp; meshes = *ppMeshTemp; delete  meshes; SAFE_RELEASE( (*ppMeshTemp) ); delete ppMeshTemp;