Fix memory leak (as observed with CppunitTest_filter_ras_test)

Change-Id: Id3fa526f01ab7dae72beb311fe0774ba1f77d8a0