Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. ==21272== Memcheck, a memory error detector
  2. ==21272== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
  3. ==21272== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
  4. ==21272== Command: ./oblig2 p pac.txt
  5. ==21272==
  6. ==21272== Syscall param open(filename) points to unaddressable byte(s)
  7. ==21272== at 0x3DCE2DB240: __open_nocancel (in /lib64/libc-2.12.so)
  8. ==21272== by 0x3DCE272AFE: _IO_file_fopen@@GLIBC_2.2.5 (in /lib64/libc-2.12.so)
  9. ==21272== by 0x3DCE266F35: __fopen_internal (in /lib64/libc-2.12.so)
  10. ==21272== by 0x40074D: main (oblig2.c:12)
  11. ==21272== Address 0x0 is not stack'd, malloc'd or (recently) free'd
  12. ==21272==
  13. ==21272==
  14. ==21272== HEAP SUMMARY:
  15. ==21272== in use at exit: 0 bytes in 0 blocks
  16. ==21272== total heap usage: 2 allocs, 2 frees, 1,136 bytes allocated
  17. ==21272==
  18. ==21272== All heap blocks were freed -- no leaks are possible
  19. ==21272==
  20. ==21272== For counts of detected and suppressed errors, rerun with: -v
  21. ==21272== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement