- Timestamp:
- Dec 16, 2018, 7:04:46 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- b5de3a9
- Parents:
- 7fc8406
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source.c
r7fc8406 rb5bd70c 122 122 " (no source built-in)\n", uri, samplerate, hop_size); 123 123 #endif 124 AUBIO_FREE(s);124 del_aubio_source(s); 125 125 return NULL; 126 126 } … … 139 139 140 140 void del_aubio_source(aubio_source_t * s) { 141 if ( !s) return;142 s->s_del((void *)s->source);141 if (s->s_del && s->source) 142 s->s_del((void *)s->source); 143 143 AUBIO_FREE(s); 144 144 }
Note: See TracChangeset
for help on using the changeset viewer.