Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eeda276b authored by Lu Guanqun's avatar Lu Guanqun Committed by Takashi Iwai
Browse files

ALSA: fix one memory leak in sound jack

parent 89724958
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -141,6 +141,7 @@ int snd_jack_new(struct snd_card *card, const char *id, int type,

fail_input:
	input_free_device(jack->input_dev);
	kfree(jack->id);
	kfree(jack);
	return err;
}