Added code to free allocated strings and clear the line vector at end of RenderLines().