Fixes reference leak (#3457)

1 file changed