lecroy-xstream: free memory that was allocated by SCPI get routines
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sun, 16 May 2021 12:44:57 +0000 (14:44 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Sat, 22 May 2021 06:06:58 +0000 (08:06 +0200)
commit36165cf0f7a226f76d3e9832a70e06d9d0d634ec
tree6d82bc05c6607ddce7dd697248d2136d6d946306
parent9417f26fd47556c4b4f6ecaa08a2860672664eb9
lecroy-xstream: 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/lecroy-xstream/protocol.c