Commits

Anonymous committed 5e51097 Merge

am e71d570b: audio: fix string leakage in out_get_parameters()

* commit 'e71d570bb84a80c9543e0797c0a9bf2082ac88f5':
audio: fix string leakage in out_get_parameters()

Comments (0)

Files changed (1)

             i++;
         }
         str_parms_add_str(reply, AUDIO_PARAMETER_STREAM_SUP_CHANNELS, value);
-        str = strdup(str_parms_to_str(reply));
+        str = str_parms_to_str(reply);
     } else {
         str = strdup(keys);
     }