[PATCH v3 14/20] ASoC: qdsp6: audioreach: add q6apm support

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Tue Aug 3 16:48:19 CEST 2021



On 03/08/2021 15:20, Amadeusz Sławiński wrote:
>> +    /* Assuming Linear Graphs only for now! */
>> +    graph->graph = audioreach_alloc_graph_pkt(apm, &info->sg_list, 
>> graph_id);
>> +    if (IS_ERR(graph->graph))
>> +        return ERR_PTR(-ENOMEM);
> Shouldn't graph be freed before returning here?
yes, it should be Its now fixed.

--srini


More information about the Alsa-devel mailing list