Changeset b6bb265


Ignore:
Timestamp:
Dec 17, 2016, 12:03:24 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler, yinfft+
Children:
17b08e6
Parents:
5d9b03b
Message:

src/io/source_avcodec.c: make sure s->path is set to null

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_avcodec.c

    r5d9b03b rb6bb265  
    532532    av_frame_free( &(s->avFrame) );
    533533  }
    534   if (s->path) AUBIO_FREE(s->path);
    535534  s->avFrame = NULL;
     535  if (s->path) {
     536    AUBIO_FREE(s->path);
     537  }
     538  s->path = NULL;
    536539  AUBIO_FREE(s);
    537540}
Note: See TracChangeset for help on using the changeset viewer.