diff options
author | Li Zhou <li.zhou@windriver.com> | 2020-11-30 13:19:59 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-11-29 22:02:14 -0800 |
commit | 885149082bbf2d9321439ccbe6e543e4c2c56ff2 (patch) | |
tree | 07096539c270b3ced63a593b3a161055227c2c89 /meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch | |
parent | 666a8b94a34c0248b02f37136ae052ca36e6b428 (diff) | |
download | meta-openembedded-885149082bbf2d9321439ccbe6e543e4c2c56ff2.tar.gz |
ptpd: Solve memory leak for function NTPDCrequest
Solve the memory leak in function NTPDCrequest detected by valgrind tool.
Memory leak log example:
==619== 21 bytes in 1 blocks are still reachable in loss record 1 of 3
==619== at 0x4A09DB0: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==619== by 0x43512E: NTPDCrequest (ntpdcontrol.c:255)
==619== by 0x43512E: NTPDCquery.isra.1 (ntpdcontrol.c:683)
==619== by 0x4359EE: ntpdInControl (ntpdcontrol.c:807)
==619== by 0x4364F5: ntpServiceUpdate (timingdomain.c:622)
==619== by 0x436935: timingDomainUpdate (timingdomain.c:756)
==619== by 0x4334A7: protocol (protocol.c:263)
==619== by 0x402BAE: main (ptpd.c:131)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch')
0 files changed, 0 insertions, 0 deletions