Changeset 7c85c15 for src/spectral


Ignore:
Timestamp:
Nov 26, 2018, 4:28:57 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
fe6a9a23
Parents:
d3440e7
Message:

[dct] use del_aubio_dct on failure, add missing \n in error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/dct.c

    rd3440e7 r7c85c15  
    156156  }
    157157beach:
    158   AUBIO_ERROR("dct: failed creating with size %d, should be > 0", size);
    159   AUBIO_FREE (s);
     158  AUBIO_ERROR("dct: failed creating with size %d, should be > 0\n", size);
     159  del_aubio_dct(s);
    160160  return NULL;
    161161}
Note: See TracChangeset for help on using the changeset viewer.