diff options
author | Eric Laurent <elaurent@google.com> | 2012-09-07 11:56:12 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-07 15:29:53 -0700 |
commit | e71d570bb84a80c9543e0797c0a9bf2082ac88f5 (patch) | |
tree | 2f6e2f2ab56eabee3a21f5329f1b469711df651b /libsensors | |
parent | ebfe9d02235aef98a62ad7b1bbf9c13c040651d5 (diff) | |
download | device_samsung_tuna-e71d570bb84a80c9543e0797c0a9bf2082ac88f5.zip device_samsung_tuna-e71d570bb84a80c9543e0797c0a9bf2082ac88f5.tar.gz device_samsung_tuna-e71d570bb84a80c9543e0797c0a9bf2082ac88f5.tar.bz2 |
audio: fix string leakage in out_get_parameters()
out_get_parameters() was calling strdup() on the string
returned by str_parms_to_str() before returning it
to the caller. This creates a new string which is never freed
as str_parms_to_str() already allocates a new string.
Change-Id: I4bcc4aa17ab55e830d7a0569151f717422f6459b
Diffstat (limited to 'libsensors')
0 files changed, 0 insertions, 0 deletions