afh: Unmap the audio file on errors.
authorAndre Noll <maan@systemlinux.org>
Sun, 27 Oct 2013 10:24:43 +0000 (11:24 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 15 Jan 2015 20:57:28 +0000 (21:57 +0100)
commit6761a4b76e3e7534ead2021cee9bab41716d4488
tree69080ab0d35507e4ba5aff8d7c3e588ddf10d4aa
parent9b406cbe5d20ba969713ca3d7a8033e697476d75
afh: Unmap the audio file on errors.

If compute_afhi() returns negative we miss to call para_munmap()
to unmap the audio file. This is not a serious bug since we exit
anyway in this case.
afh.c