diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-23 16:16:35 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-23 17:08:15 +0100 |
commit | 144a09700d242ceac48a739f9fcdb3649f4c72b8 (patch) | |
tree | 092a8dc2ec9b1087a7cd82ca30609f8714cd3f7a /decoders/adf435x | |
parent | b62ca656bcead79c54b14b0c83b0fd89ad76fb0c (diff) | |
download | libsigrokdecode-144a09700d242ceac48a739f9fcdb3649f4c72b8.tar.gz libsigrokdecode-144a09700d242ceac48a739f9fcdb3649f4c72b8.zip |
srd_inst_option_set(): Fix multiple memory leaks.
These were reported when compiling with "-fsanitize=address" and running
"PYTHONMALLOC=malloc make check":
=================================================================
==42879==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 317 byte(s) in 6 object(s) allocated from:
#0 0x7f08e4809538 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cc:144
#1 0x7f08e3f37622 in PyUnicode_New ../Objects/unicodeobject.c:1365
Direct leak of 28 byte(s) in 1 object(s) allocated from:
#0 0x7f08e4809538 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cc:144
#1 0x7f08e3f7e1a5 in _PyLong_New ../Objects/longobject.c:275
Direct leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f08e4809538 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cc:144
#1 0x7f08e3f91521 in PyFloat_FromDouble ../Objects/floatobject.c:122
SUMMARY: AddressSanitizer: 369 byte(s) leaked in 8 allocation(s).
session
Diffstat (limited to 'decoders/adf435x')
0 files changed, 0 insertions, 0 deletions