]> sigrok.org Git - libsigrokdecode.git/commit
type_decoder.c: Fix a memory leak reported by scan-build.
authorUwe Hermann <redacted>
Tue, 15 May 2018 23:27:30 +0000 (01:27 +0200)
committerUwe Hermann <redacted>
Wed, 16 May 2018 10:17:42 +0000 (12:17 +0200)
commit8ad9a3e48ddf79e08cd48073c953ea665c464005
tree3d034af1b073528a7192c1073685dd4c9211c466
parent48518538aef9dc7ceb2c603319a26ff8750f361e
type_decoder.c: Fix a memory leak reported by scan-build.

  type_decoder.c:206:2: warning: Potential leak of memory pointed to by 'pdb'
          PyGILState_Release(gstate);
          ^~~~~~~~~~~~~~~~~~
type_decoder.c