hp-3457a: free memory that was allocated by SCPI get routines
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sun, 16 May 2021 12:43:58 +0000 (14:43 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Sat, 22 May 2021 06:06:58 +0000 (08:06 +0200)
commit1c50255506971b0bdb37fca88c80a8146abbb6e4
tree1346de191bc86799fff28290a273a72ea048bd13
parentc9cfcd25917c4ee5767fa097d4fa8fb8a4888a6d
hp-3457a: 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/hp-3457a/api.c