We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a class that defines a static member: class RawDecoder { public: static std::string cam_profile; }; declared as std::string RawDecoder::cam_profile; which is reported as a leak CRT Alloc ID: 195 Leak Hash: 0x46AD681D, Count: 1, Total 16 bytes Call Stack (TID 5096): ucrtbased.dll!malloc() d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): Phot.exe!operator new() + 0xA bytes C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (52): Phot.exe!std::_Default_allocate_traits::_Allocate() C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (180): Phot.exe!std::_Allocate<16,std::_Default_allocate_traits,0>() + 0xA bytes C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (785): Phot.exe!std::allocator<std::_Container_proxy>::allocate() C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (1098): Phot.exe!std::_Container_base12::_Alloc_proxy<std::allocator<std::_Container_proxy> >() + 0xF bytes C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xstring (2286): Phot.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >() + 0x30 bytes C:\Users\drogers\Documents\Visual Studio 2010\Projects\ImageViewers\dcraw\dcraw.cpp (116): Phot.exe!dynamic initializer for 'RawDecoder::cam_profile''() + 0x10 bytes `
class RawDecoder { public: static std::string cam_profile; };
std::string RawDecoder::cam_profile;
CRT Alloc ID: 195 Leak Hash: 0x46AD681D, Count: 1, Total 16 bytes Call Stack (TID 5096): ucrtbased.dll!malloc() d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): Phot.exe!operator new() + 0xA bytes C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (52): Phot.exe!std::_Default_allocate_traits::_Allocate() C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (180): Phot.exe!std::_Allocate<16,std::_Default_allocate_traits,0>() + 0xA bytes C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (785): Phot.exe!std::allocator<std::_Container_proxy>::allocate() C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (1098): Phot.exe!std::_Container_base12::_Alloc_proxy<std::allocator<std::_Container_proxy> >() + 0xF bytes C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xstring (2286): Phot.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >() + 0x30 bytes C:\Users\drogers\Documents\Visual Studio 2010\Projects\ImageViewers\dcraw\dcraw.cpp (116): Phot.exe!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a class that defines a static member:
class RawDecoder { public: static std::string cam_profile; };
declared as
std::string RawDecoder::cam_profile;
which is reported as a leak
CRT Alloc ID: 195 Leak Hash: 0x46AD681D, Count: 1, Total 16 bytes Call Stack (TID 5096): ucrtbased.dll!malloc() d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): Phot.exe!operator new() + 0xA bytes C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (52): Phot.exe!std::_Default_allocate_traits::_Allocate() C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (180): Phot.exe!std::_Allocate<16,std::_Default_allocate_traits,0>() + 0xA bytes C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (785): Phot.exe!std::allocator<std::_Container_proxy>::allocate() C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory (1098): Phot.exe!std::_Container_base12::_Alloc_proxy<std::allocator<std::_Container_proxy> >() + 0xF bytes C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xstring (2286): Phot.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >() + 0x30 bytes C:\Users\drogers\Documents\Visual Studio 2010\Projects\ImageViewers\dcraw\dcraw.cpp (116): Phot.exe!
dynamic initializer for 'RawDecoder::cam_profile''() + 0x10 bytes`
The text was updated successfully, but these errors were encountered: