Releases the histogram (header and the data).
The pointer to histogram is cleared by the function.
If *hist pointer is already NULL, the function does nothing.


- hist ( IntPtr %)
- Double pointer to the released histogram