Advertisement
TwITe

Untitled

Dec 27th, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int* a = new int[100];
  6.  
  7. return 0;
  8. }
  9.  
  10. And its valgrind log:
  11.  
  12. ==16895== LEAK SUMMARY:
  13. ==16895== definitely lost: 400 bytes in 1 blocks
  14. ==16895== indirectly lost: 0 bytes in 0 blocks
  15. ==16895== possibly lost: 0 bytes in 0 blocks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement