Fixed clGetContextInfo crash when called on a released context.