valgrind output when playing a wav file: current: ==10157== LEAK SUMMARY: ==10157== definitely lost: 12,470 bytes in 6 blocks ==10157== indirectly lost: 5,296 bytes in 6 blocks ==10157== possibly lost: 8,176 bytes in 1 blocks ==10157== still reachable: 125,971 bytes in 1,357 blocks
after patch 1: ==10175== LEAK SUMMARY: ==10175== definitely lost: 4,134 bytes in 4 blocks ==10175== indirectly lost: 176 bytes in 4 blocks ==10175== possibly lost: 8,176 bytes in 1 blocks ==10175== still reachable: 125,971 bytes in 1,357 blocks after patch 2: after2: ==10232== LEAK SUMMARY: ==10232== definitely lost: 30 bytes in 3 blocks ==10232== indirectly lost: 176 bytes in 4 blocks ==10232== possibly lost: 8,176 bytes in 1 blocks ==10232== still reachable: 125,971 bytes in 1,357 blocks The remaining leaks are things allocated in SDL. From what I can tell we're using the SDL API correctly, so those are likely just bugs in SDL. Justin Ruggles (2): avplay: free rdft data used for spectrogram analysis. avplay: free the active audio packet at exit. avplay.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
