We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4fd00d commit 2ca71b8Copy full SHA for 2ca71b8
sound/soc/soc-topology.c
@@ -1394,14 +1394,14 @@ static struct snd_kcontrol_new *soc_tplg_dapm_widget_dmixer_create(
1394
if (err < 0) {
1395
dev_err(tplg->dev, "ASoC: failed to init %s\n",
1396
mc->hdr.name);
1397
- soc_tplg_free_tlv(tplg, &kc[i]);
1398
goto err_sm;
1399
}
1400
1401
return kc;
1402
1403
err_sm:
1404
for (; i >= 0; i--) {
+ soc_tplg_free_tlv(tplg, &kc[i]);
1405
sm = (struct soc_mixer_control *)kc[i].private_value;
1406
kfree(sm);
1407
kfree(kc[i].name);
0 commit comments