caget: free PV value after printing

This commit is contained in:
Grzegorz Kowalski
2024-06-18 11:55:40 +02:00
committed by Andrew Johnson
parent 3ac8dcc3de
commit 5d9ffe15da

View File

@ -343,6 +343,7 @@ static int caget (pv *pvs, int nPvs, RequestT request, OutputT format,
default :
break;
}
free(pvs[n].value);
}
return 0;
}