rogersce / cnpy

library to read/write .npy and .npz files in C/C++
MIT License
1.34k stars 301 forks source link

Missing exception safety for npz_load #53

Open nmcclatchey opened 5 years ago

nmcclatchey commented 5 years ago

Much like #52, npz_load leaks open FILE objects if an exception is thrown. Examples of locations that may throw exceptions include: