Fix resource leak CID 18128