Prevents memory leak and possible access to freed memory. Fixes CID605744.
Attach a file by drag & drop or click to upload