bench: silence coverity complaint about a double free