don't leak memory

Closes https://github.com/mate-desktop/atril/pull/99