ecore/audio: correctly handle sndfile error when setting new vio
authorMike Blumenkrantz <zmike@samsung.com>
Tue, 17 Mar 2020 16:05:01 +0000 (12:05 -0400)
committerJongmin Lee <jm105.lee@samsung.com>
Thu, 26 Mar 2020 21:04:32 +0000 (06:04 +0900)
commit1c62397b10026dd9602032069e2bded18af07d5f
tree27d36491e2d640d8462d41669bcfdc2f2080fdde
parent7e7240a29ba47fb006361b1aef587132667fb65a
ecore/audio: correctly handle sndfile error when setting new vio

need to immediately call the free here to avoid leaking the callback data

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11530
src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c