Fix a memory leak when opening the Properties > Clip page.
Fix a memory leak when drawing the chapter marks on the seek bar.

Since the seek bar is often redrawn the memory leak could become quite noticeable if a file was left opened for a long time.