OSDN Git Service

Add missing free after read device info
authorliuchao <liuchao741@huawei.com>
Thu, 1 Mar 2018 08:58:29 +0000 (16:58 +0800)
committerliuchao <liuchao741@huawei.com>
Thu, 1 Mar 2018 08:58:29 +0000 (16:58 +0800)
commit93c11a39aec860df8e56c9624c769d7b16d70ec2
treea687cda9da13fa9d1697828028cd6344a76c4e84
parenta2c091b0f5f92fc50ae2c80e0b43572fff2463ba
Add missing free after read device info

alsa_hw_params is not freed before get out
of function profile_read_device_info,calloc
from pcm_params_get in pcm.c

Test: code compilation
Change-Id: Icb1163d3dc213939243d26f57f8d22ca4edb1159
alsa_utils/alsa_device_profile.c