Fixed potential memory leak.
Little stuff