Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't crash if an error occurs when we fail to create a context
Context::~Context calls free on p_devices and p_properties, but these two members may not be initialized if we fail somewhere in the constructor, return, and then get deleted by clCreateContext.
- Loading branch information