Exceptional cases-2

11. I forgot about memory damp.
P.S. One more PVS-Studio message was ignored (insecurity of 'fopen').