Memory Leak - MakeObject<Document>(u"example.docx");

The following range of versions of aspose.words have memory leaks in the following function:
MakeObject(u"example.docx");
Aspose.Words.Cpp.23.9.0 → Aspose.Words.Cpp.24.3.0 (now)
The memory leak exists probably even longer.

Can be reproduced as follows:
Snippet

// use a word-file with 1 mb of size to detect the leak quicker.
// Taskmanager shows now a rapid growth in memory
const String systemFilename{ u"example.docx" };
for (int i{}; i < 3700; ++i)
{
    System::SmartPtr<Aspose::Words::Document> document = System::MakeObject<Aspose::Words::Document>(systemFilename);
}

Can be reproduced with every docx-file. The bigger the size of the file the bigger the memory leak.
Regarding to VisualStudio Debbuger the SharedPointer Count in Document is not 0 after it goes out of scope.
Similar bug to the previously fixed: Release Memory used by Document Instance when Scope Ends to Prevent Memory Leak in Aspose.Words for C++ - Free Support Forum - aspose.com

@lefev
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSCPP-1284

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.