Menu

#520 Leaking file pointer on error

SVN
fixed
Qbix
leak (1)
1
2019-11-26
2019-11-23
philipp
No

CDebugVar::LoadVars() in "src/debug/debug.cpp" leaks file pointer f if the first fread() fails.

This is in 0.74-2, 0.74-3 and in the trunk of the repository.

Found by Cppcheck.

Discussion

  • Qbix

    Qbix - 2019-11-26

    fixed.

     
  • Qbix

    Qbix - 2019-11-26
    • status: open --> fixed
    • assigned_to: Qbix
     

Log in to post a comment.

MongoDB Logo MongoDB