]> git.alsa-project.org Git - alsa-lib.git/commit
conf.c: fix handling of NULL ids
authorClemens Ladisch <clemens@ladisch.de>
Thu, 9 Jul 2009 05:38:26 +0000 (07:38 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Thu, 9 Jul 2009 05:38:26 +0000 (07:38 +0200)
commit2c4b3c7d091b5e7d5202a50e7623971e47221775
treef2b0ec6a74bb4f2e985a9c9c4a7f6d465ec51800
parenta7f744888ee5d38416d6bfd8c924e0d3a4714154
conf.c: fix handling of NULL ids

Make sure that we do not crash when encountering configuration nodes
with a NULL id.  Furthermore, since we cannot avoid having NULL ids
anyway, allow the id of a top-level node to be reset to NULL.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
src/conf.c