caget: free PV value after printing
This commit is contained in:

committed by
Andrew Johnson

parent
3ac8dcc3de
commit
5d9ffe15da
@ -343,6 +343,7 @@ static int caget (pv *pvs, int nPvs, RequestT request, OutputT format,
|
||||
default :
|
||||
break;
|
||||
}
|
||||
free(pvs[n].value);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user