projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3440e7
)
[dct] use del_aubio_dct on failure, add missing \n in error message
author
Paul Brossier
<piem@piem.org>
Mon, 26 Nov 2018 15:28:57 +0000
(16:28 +0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 26 Nov 2018 15:28:57 +0000
(16:28 +0100)
src/spectral/dct.c
patch
|
blob
|
history
diff --git
a/src/spectral/dct.c
b/src/spectral/dct.c
index
4b3a438
..
bd6ba6c
100644
(file)
--- a/
src/spectral/dct.c
+++ b/
src/spectral/dct.c
@@
-155,8
+155,8
@@
plain:
goto beach;
}
beach:
- AUBIO_ERROR("dct: failed creating with size %d, should be > 0", size);
-
AUBIO_FREE
(s);
+ AUBIO_ERROR("dct: failed creating with size %d, should be > 0
\n
", size);
+
del_aubio_dct
(s);
return NULL;
}