mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-05 09:20:29 +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 "ctl/shared_ptr.h"
|
||||||
|
|
||||||
|
#include "libc/runtime/runtime.h"
|
||||||
|
|
||||||
// #include <memory>
|
// #include <memory>
|
||||||
// #define ctl std
|
// #define ctl std
|
||||||
|
|
||||||
|
@ -76,5 +78,6 @@ main()
|
||||||
// TODO(mrdomino): exercise more of API
|
// TODO(mrdomino): exercise more of API
|
||||||
// TODO(mrdomino): threading stress-test
|
// TODO(mrdomino): threading stress-test
|
||||||
|
|
||||||
|
CheckForMemoryLeaks();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue