Changeset a9f463c


Ignore:
Timestamp:
Dec 21, 2018, 3:26:04 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/timestretch, fix/ffmpeg5, master
Children:
51a35a7
Parents:
2bfbf33
Message:

[py] check if filter was created before deleting it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-filter.c

    r2bfbf33 ra9f463c  
    110110{
    111111  Py_XDECREF(self->out);
    112   del_aubio_filter (self->o);
     112  if (self->o)
     113    del_aubio_filter (self->o);
    113114  Py_TYPE(self)->tp_free ((PyObject *) self);
    114115}
Note: See TracChangeset for help on using the changeset viewer.