nullptr+close+delete