COMP: fix a valgrind leak in new test

Change-Id: I2ef4a1643fee0e7ef8d10cd49c398d2128e020b7
Merge topic 'fix-leak' into master

7bcf2313 COMP: fix a valgrind leak in new test