Changeset a9f463c for python


Ignore:
Timestamp:
Dec 21, 2018, 3:26:04 PM (7 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/timestretch, 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.