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