Fix (small) memory leak (as observed with CppunitTest_filter_tiff_test)

Change-Id: Ib840d66882faeca01d07a8764957a1c7c4075ec0