alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [alsa-devel] fix memory leak in snd_pcm_set_chmap
       [not found] <1568576648110091925-webhooks-bot@alsa-project.org>
@ 2019-09-15 19:44 ` GitHub pull_request - opened
  0 siblings, 0 replies; 3+ messages in thread
From: GitHub pull_request - opened @ 2019-09-15 19:44 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-lib pull request #10 was opened from conradjones:

asan detects this as a memory leak. 

snd_pcm_get_chmap clearly states that the caller is required to free the returned value, i cannot see it stored anywhere so cannot see how it could be freed.

Request URL   : https://github.com/alsa-project/alsa-lib/pull/10
Patch URL     : https://github.com/alsa-project/alsa-lib/pull/10.patch
Repository URL: https://github.com/alsa-project/alsa-lib
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [alsa-devel] fix memory leak in snd_pcm_set_chmap
       [not found] <1568588425812326908-webhooks-bot@alsa-project.org>
@ 2019-09-15 23:00 ` GitHub pull_request - opened
  0 siblings, 0 replies; 3+ messages in thread
From: GitHub pull_request - opened @ 2019-09-15 23:00 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-lib pull request #11 was opened from conradjones:

memory leak in snd_pcm_set_chmap :

memory is allocated in the function pointed at by : pcm->ops->get_chmap 

called in: snd_pcm_chmap_t *snd_pcm_get_chmap(snd_pcm_t *pcm)

Request URL   : https://github.com/alsa-project/alsa-lib/pull/11
Patch URL     : https://github.com/alsa-project/alsa-lib/pull/11.patch
Repository URL: https://github.com/alsa-project/alsa-lib
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [alsa-devel] fix memory leak in snd_pcm_set_chmap
       [not found] <1568582804914153099-webhooks-bot@alsa-project.org>
@ 2019-09-15 21:26 ` GitHub pull_request - edited
  0 siblings, 0 replies; 3+ messages in thread
From: GitHub pull_request - edited @ 2019-09-15 21:26 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-lib pull request #10 was edited from conradjones:

ignore

Request URL   : https://github.com/alsa-project/alsa-lib/pull/10
Patch URL     : https://github.com/alsa-project/alsa-lib/pull/10.patch
Repository URL: https://github.com/alsa-project/alsa-lib
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-15 23:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1568576648110091925-webhooks-bot@alsa-project.org>
2019-09-15 19:44 ` [alsa-devel] fix memory leak in snd_pcm_set_chmap GitHub pull_request - opened
     [not found] <1568582804914153099-webhooks-bot@alsa-project.org>
2019-09-15 21:26 ` GitHub pull_request - edited
     [not found] <1568588425812326908-webhooks-bot@alsa-project.org>
2019-09-15 23:00 ` GitHub pull_request - opened

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).