]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - sound/core/jack.c
ALSA: add private_data to struct snd_jack
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Apr 2009 14:13:58 +0000 (16:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Apr 2009 14:15:09 +0000 (16:15 +0200)
commit9d59065cd6fae841ca56c281189d5b8d0817d35f
treeab9ab1d52db96d7ba7a5235ea0073a34b722a1e0
parent577c9c456f0e1371cbade38eaf91ae8e8a308555
ALSA: add private_data to struct snd_jack

Added private_data and private_free fields to struct snd_jack so that
the caller can assign the data.  It'll be helpful for avoiding the
double-free of the jack instance.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/jack.h
sound/core/jack.c