Closed bryonglodencissp closed 8 years ago
[src/lepton/jpgcoder.cc:1273]: (error) Resource leak: fp
(error) Resource leak: fp
Calling fclose() will ensure the file descriptor is properly disposed of and output buffers flushed so the data written to the file will be present in the file on disk.
fclose()
Found by https://github.com/bryongloden/cppcheck
[src/lepton/jpgcoder.cc:1273]:
(error) Resource leak: fp
Calling
fclose()
will ensure the file descriptor is properly disposed of and output buffers flushed so the data written to the file will be present in the file on disk.Found by https://github.com/bryongloden/cppcheck