]> git.alsa-project.org Git - alsa-plugins.git/commit
pulse: rework object destruction paths a bit
authorLennart Poettering <mznyfn@0pointer.de>
Tue, 4 Aug 2009 21:55:28 +0000 (23:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Aug 2009 21:58:31 +0000 (23:58 +0200)
commit50562a9d5d54270ab67f183013204d24cdbeff21
tree1840554a7e610d00b3c7ab6fc4d4aeeba1d7a6e1
parent59ccd2aca941b4653803f5415b4985ab35de0c35
pulse: rework object destruction paths a bit

Make sure we deal better with partially initialized structs.

Don't check for pointer state before calling free() since free() does
that anyway.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
pulse/ctl_pulse.c
pulse/pcm_pulse.c