A SafeHandle or CriticalHandle of type '%1$s' failed to properly release the handle with value 2$p. This usually indicates ...

A SafeHandle or CriticalHandle of type '%1$s' failed to properly release the handle with value 0x%2$p. This usually indicates that the handle was released incorrectly via another means (such as extracting the handle using DangerousGetHandle and closing it directly or building another SafeHandle around it.)