Skip to content

Instantly share code, notes, and snippets.

@basavesh
Created July 28, 2016 16:38
Show Gist options
  • Save basavesh/089e08bc9657b9234ca8afd9a675d5b2 to your computer and use it in GitHub Desktop.
Save basavesh/089e08bc9657b9234ca8afd9a675d5b2 to your computer and use it in GitHub Desktop.
==7307== Memcheck, a memory error detector
==7307== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==7307== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==7307== Command: ./a.out
==7307==
Starting Libevent 2.0.20-stable.
Available methods are:
epoll
poll
select
==7307==
==7307== HEAP SUMMARY:
==7307== in use at exit: 32 bytes in 1 blocks
==7307== total heap usage: 1 allocs, 0 frees, 32 bytes allocated
==7307==
==7307== 32 bytes in 1 blocks are still reachable in loss record 1 of 1
==7307== at 0x4C2CC70: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==7307== by 0x4E48F6C: event_get_supported_methods (event.c:900)
==7307== by 0x400760: main (in /home/basavesh/practice/libevent/a.out)
==7307==
==7307== LEAK SUMMARY:
==7307== definitely lost: 0 bytes in 0 blocks
==7307== indirectly lost: 0 bytes in 0 blocks
==7307== possibly lost: 0 bytes in 0 blocks
==7307== still reachable: 32 bytes in 1 blocks
==7307== suppressed: 0 bytes in 0 blocks
==7307==
==7307== For counts of detected and suppressed errors, rerun with: -v
==7307== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment