Changeset 4f89154


Ignore:
Timestamp:
Feb 27, 2017, 10:29:15 AM (2 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler
Children:
24a7764
Parents:
b8cedb6
Message:

python/ext/py-{source,sink}.c: free string uri

Location:
python/ext
Files:
2 edited

Legend:

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

    rb8cedb6 r4f89154  
    128128  del_aubio_sink(self->o);
    129129  free(self->mwrite_data.data);
     130  if (self->uri) {
     131    free(self->uri);
     132  }
    130133  Py_TYPE(self)->tp_free((PyObject *) self);
    131134}
  • python/ext/py-source.c

    rb8cedb6 r4f89154  
    164164    del_aubio_source(self->o);
    165165    free(self->c_mread_to.data);
     166  }
     167  if (self->uri) {
     168    free(self->uri);
    166169  }
    167170  Py_XDECREF(self->read_to);
Note: See TracChangeset for help on using the changeset viewer.