eom-thumb-view: Fix a memory leak