From: John Lindgren <john.lindgren@tds.net>
To: alsa-devel@alsa-project.org
Subject: Small memory leak in snd_pcm_ladspa_init()
Date: Wed, 21 Jul 2010 11:48:37 -0400 [thread overview]
Message-ID: <4C4716D5.8080501@tds.net> (raw)
Hello,
Valgrind shows up a small memory leak in libasound when using a LADSPA
plugin. Sorry, I don't have a patch this time.
==30783== 16 bytes in 2 blocks are definitely lost in loss record 1,976 of 6,954
==30783== at 0x4C2380C: calloc (vg_replace_malloc.c:467)
==30783== by 0x1B06BEFD: snd_pcm_ladspa_init (pcm_ladspa.c:744)
==30783== by 0x1B04B325: snd_pcm_plugin_prepare (pcm_plugin.c:167)
==30783== by 0x1B04B2EE: snd_pcm_plugin_prepare (pcm_plugin.c:158)
==30783== 16 bytes in 2 blocks are definitely lost in loss record 1,977 of 6,954
==30783== at 0x4C2380C: calloc (vg_replace_malloc.c:467)
==30783== by 0x1B06BF25: snd_pcm_ladspa_init (pcm_ladspa.c:746)
==30783== by 0x1B04B325: snd_pcm_plugin_prepare (pcm_plugin.c:167)
==30783== by 0x1B04B2EE: snd_pcm_plugin_prepare (pcm_plugin.c:158)
...
==30783== 16 bytes in 2 blocks are definitely lost in loss record 1,980 of 6,954
==30783== at 0x4C2380C: calloc (vg_replace_malloc.c:467)
==30783== by 0x1B06BEFD: snd_pcm_ladspa_init (pcm_ladspa.c:744)
==30783== by 0x1B04B325: snd_pcm_plugin_prepare (pcm_plugin.c:167)
==30783== by 0x1B04B2EE: snd_pcm_plugin_prepare (pcm_plugin.c:158)
==30783== by 0x1B03B2DC: snd_pcm_recover (pcm.c:7246)
==30783== 16 bytes in 2 blocks are definitely lost in loss record 1,981 of 6,954
==30783== at 0x4C2380C: calloc (vg_replace_malloc.c:467)
==30783== by 0x1B06BF25: snd_pcm_ladspa_init (pcm_ladspa.c:746)
==30783== by 0x1B04B325: snd_pcm_plugin_prepare (pcm_plugin.c:167)
==30783== by 0x1B04B2EE: snd_pcm_plugin_prepare (pcm_plugin.c:158)
==30783== by 0x1B03B2DC: snd_pcm_recover (pcm.c:7246)
... and so on.
-- John
next reply other threads:[~2010-07-21 15:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-21 15:48 John Lindgren [this message]
2010-07-21 22:13 ` Small memory leak in snd_pcm_ladspa_init() Jaroslav Kysela
2010-07-22 2:32 ` John Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C4716D5.8080501@tds.net \
--to=john.lindgren@tds.net \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox