Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int* a = new int[100];
- return 0;
- }
- And its valgrind log:
- ==16895== LEAK SUMMARY:
- ==16895== definitely lost: 400 bytes in 1 blocks
- ==16895== indirectly lost: 0 bytes in 0 blocks
- ==16895== possibly lost: 0 bytes in 0 blocks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement