Parent: 2ebb415b12c48a727b106b6f28452cc430996964
Author: Roman Smirnov <r.smirnov@omp.ru>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-06-27 21:33:52
Tree: d865db5ea465ff678c80ffac340cecbda098accc
media: fix memory leak in endpoint_init_pac() asprintf() allocates memory in the name variable but does not free it before exiting the function, which causes a memory leak. Add freeing of the name variable before exiting. Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
Diffstat
| M | profiles/audio/media.c | | | 1 | + |
1 files changed, 1 insertions(+), 0 deletions(-)