Fix double free in video test suite