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
Hello!
I rewrote in Pascal several C++ examples and games: SplashKit Pascal examples
When I compile with -gh option, I see that all the programs have memory leaks. I don't know whether it comes from the library or from my programs.
Even this very simple example has a (small) memory leak.
[roland@localhost drawing]$ skm fpc program -ghl Free Pascal Compiler version 3.2.0 [2020/07/05] for x86_64 Copyright (c) 1993-2020 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling program.pas Linking program 16 lines compiled, 0.4 sec 🎉 fpc command run successfully 🎉 [roland@localhost drawing]$ ./program Heap dump by heaptrc unit of /home/roland/Documents/pascal/splashkit/drawing/program 5 memory blocks allocated : 88/96 4 memory blocks freed : 73/80 1 unfreed memory blocks : 15 True heap size : 65536 True free heap : 65312 Should be : 65328 Call trace for block $00007F2624A3B2C0 size 15
Regards.
Roland
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
I rewrote in Pascal several C++ examples and games: SplashKit Pascal examples
When I compile with -gh option, I see that all the programs have memory leaks. I don't know whether it comes from the library or from my programs.
Even this very simple example has a (small) memory leak.
Regards.
Roland
The text was updated successfully, but these errors were encountered: