]> sigrok.org Git - libsigrok.git/commit
hameg-hmo: Avoid a double-free.
authorGuido Trentalancia <redacted>
Fri, 16 Nov 2018 17:48:36 +0000 (18:48 +0100)
committerUwe Hermann <redacted>
Thu, 25 Jul 2019 22:11:07 +0000 (00:11 +0200)
commit673989692c196907ca41e8003b401c44da67bccc
tree8df2ac1f69b55c79ded4a221f3893ce08ef22e91
parent4fa4db2c7983235fff5891127f5f4648a3762172
hameg-hmo: Avoid a double-free.

Avoid double memory freeing leading to segmentation fault in when a SCPI
command fails to get a string due conditions such as a timeout or an invalid
command.
src/hardware/hameg-hmo/protocol.c