mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 08:20:28 +00:00
Check for memory leaks
This commit is contained in:
parent
da5817816d
commit
79c0e97dcf
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,8 @@
|
|||
|
||||
#include "ctl/shared_ptr.h"
|
||||
|
||||
#include "libc/runtime/runtime.h"
|
||||
|
||||
// #include <memory>
|
||||
// #define ctl std
|
||||
|
||||
|
@ -76,5 +78,6 @@ main()
|
|||
// TODO(mrdomino): exercise more of API
|
||||
// TODO(mrdomino): threading stress-test
|
||||
|
||||
CheckForMemoryLeaks();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue