Cleanup new darray in array structure
The valsr real array support was switched to a dynamic array vals. This patch updates teh valgrind cleanup code to use the correct name.
This commit is contained in:
parent
10b5a82904
commit
c64407f7cf
|
|
@ -76,8 +76,8 @@ vvp_array_t array_find(const char*label)
|
|||
* an array of vvp_vector4_t vectors.
|
||||
*
|
||||
* - Array of real variables
|
||||
* The valsr member points to a vvp_realarray_t objects that has an
|
||||
* array of double variables. This is very much line the way the
|
||||
* The vals member points to a dynamic array objects that has an
|
||||
* array of double variables. This is very much like the way the
|
||||
* vector4 array works.
|
||||
*/
|
||||
struct __vpiArray : public __vpiHandle {
|
||||
|
|
@ -1897,10 +1897,10 @@ void memory_delete(vpiHandle item)
|
|||
// constant_delete(handle)?
|
||||
delete arr->vals4;
|
||||
|
||||
// if (arr->valsr) {}
|
||||
// if (arr->vals) {}
|
||||
// Delete the individual words?
|
||||
// constant_delete(handle)?
|
||||
delete arr->valsr;
|
||||
delete arr->vals;
|
||||
|
||||
if (arr->nets) {
|
||||
for (unsigned idx = 0; idx < arr->array_count; idx += 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue