| 1 | [jvd@mandarinai ffmpeg]$ valgrind --leak-check=yes ./test_leak
|
|---|
| 2 | ==28530== Memcheck, a memory error detector
|
|---|
| 3 | ==28530== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
|
|---|
| 4 | ==28530== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
|
|---|
| 5 | ==28530== Command: ./test_leak
|
|---|
| 6 | ==28530==
|
|---|
| 7 | [dv @ 0x55fecc0] Format dv detected only with low score of 25, misdetection possible!
|
|---|
| 8 | [dv @ 0x55fecc0] Can't determine profile of DV input stream.
|
|---|
| 9 | ==28530==
|
|---|
| 10 | ==28530== HEAP SUMMARY:
|
|---|
| 11 | ==28530== in use at exit: 33,192 bytes in 1 blocks
|
|---|
| 12 | ==28530== total heap usage: 45 allocs, 44 frees, 2,815,873 bytes allocated
|
|---|
| 13 | ==28530==
|
|---|
| 14 | ==28530== 33,192 bytes in 1 blocks are definitely lost in loss record 1 of 1
|
|---|
| 15 | ==28530== at 0x483AEC3: memalign (vg_replace_malloc.c:898)
|
|---|
| 16 | ==28530== by 0x483AFF0: posix_memalign (vg_replace_malloc.c:1062)
|
|---|
| 17 | ==28530== by 0xC7F864: av_malloc (mem.c:87)
|
|---|
| 18 | ==28530== by 0xC7FA69: av_mallocz (mem.c:238)
|
|---|
| 19 | ==28530== by 0x24E5E3: avpriv_dv_init_demux (dv.c:328)
|
|---|
| 20 | ==28530== by 0x24E677: dv_read_header (dv.c:499)
|
|---|
| 21 | ==28530== by 0x208B31: avformat_open_input (utils.c:633)
|
|---|
| 22 | ==28530== by 0x1FC134: main (test.cpp:7)
|
|---|
| 23 | ==28530==
|
|---|
| 24 | ==28530== LEAK SUMMARY:
|
|---|
| 25 | ==28530== definitely lost: 33,192 bytes in 1 blocks
|
|---|
| 26 | ==28530== indirectly lost: 0 bytes in 0 blocks
|
|---|
| 27 | ==28530== possibly lost: 0 bytes in 0 blocks
|
|---|
| 28 | ==28530== still reachable: 0 bytes in 0 blocks
|
|---|
| 29 | ==28530== suppressed: 0 bytes in 0 blocks
|
|---|
| 30 | ==28530==
|
|---|
| 31 | ==28530== For counts of detected and suppressed errors, rerun with: -v
|
|---|
| 32 | ==28530== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
|
|---|