scpi-dmm: free memory that was allocated by SCPI get routines
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sun, 16 May 2021 12:52:49 +0000 (14:52 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Sat, 22 May 2021 06:06:58 +0000 (08:06 +0200)
commit83d38ed90a623b7dc4fcd552d6414e34e0828928
treec46e08e5396a81df5032e4f19f280bfd3b47bb88
parentff85a7f0ab3cedf0b44b48e6f3e59da9c767d53b
scpi-dmm: free memory that was allocated by SCPI get routines

The SCPI get routines may allocate memory for response data which
callers have to free after use.

This addresses part of bug #1683.
src/hardware/scpi-dmm/protocol.c