projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7daa881
)
src/io/source_sndfile.c: set handle to null after sucessful close
author
Paul Brossier
<piem@piem.org>
Mon, 3 Oct 2016 11:28:08 +0000
(13:28 +0200)
committer
Paul Brossier
<piem@piem.org>
Mon, 3 Oct 2016 11:28:08 +0000
(13:28 +0200)
src/io/source_sndfile.c
patch
|
blob
|
history
diff --git
a/src/io/source_sndfile.c
b/src/io/source_sndfile.c
index
6280de1
..
133a02f
100644
(file)
--- a/
src/io/source_sndfile.c
+++ b/
src/io/source_sndfile.c
@@
-318,6
+318,7
@@
uint_t aubio_source_sndfile_close (aubio_source_sndfile_t *s) {
AUBIO_ERR("source_sndfile: Error closing file %s: %s\n", s->path, sf_strerror (NULL));
return AUBIO_FAIL;
}
+ s->handle = NULL;
return AUBIO_OK;
}