Changeset d013a93 for src/io/sink.c


Ignore:
Timestamp:
Dec 17, 2018, 4:42:29 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/crepe, fix/ffmpeg5, master
Children:
d286fe4
Parents:
2de7cfa (diff), 09b4be9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'feature/sink_flac' into feature/autosink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink.c

    r2de7cfa rd013a93  
    195195  AUBIO_ERROR("sink: failed creating '%s' at %dHz (no sink built-in)\n", uri, samplerate);
    196196#endif
    197   AUBIO_FREE(s);
     197  del_aubio_sink(s);
    198198  return NULL;
    199199}
     
    228228
    229229void del_aubio_sink(aubio_sink_t * s) {
    230   if (!s) return;
    231   s->s_del((void *)s->sink);
     230  AUBIO_ASSERT(s);
     231  if (s->s_del && s->sink)
     232    s->s_del((void *)s->sink);
    232233  AUBIO_FREE(s);
    233   return;
    234 }
     234}
Note: See TracChangeset for help on using the changeset viewer.