Fix test 1974

Test 1974 would print different messages depending on if an object was
freed or not. This could cause the test to incorrectly fail.

Test: ./test.py --host
Change-Id: Idbcfdb3c08412b7ea969b6ca6d95493342598e0c
1 file changed