// REVIEW: Memory Leak - HTTPRepository copy-ctor

93,275 bytes in 2,275 blocks are indirectly lost
This commit is contained in:
Scott Giese 2020-08-22 16:16:38 -05:00
parent 685866ffa7
commit 53487ae732

View File

@ -189,7 +189,9 @@ class HTTPDirectory
{
}
ChildInfo(const ChildInfo& other) = default;
// REVIEW: Memory Leak - 93,275 bytes in 2,275 blocks are indirectly lost
// Default copy-ctor is inappropriate when using dynamic memory allocation
ChildInfo(const ChildInfo& other) = default;
void setSize(const std::string & sizeData)
{