|
@ -1233,7 +1233,8 @@ int32_t iguana_ramchain_free(struct iguana_ramchain *ramchain,int32_t deleteflag |
|
|
if ( ramchain->A != ramchain->creditsA ) |
|
|
if ( ramchain->A != ramchain->creditsA ) |
|
|
{ |
|
|
{ |
|
|
printf("hashmem.%p Free A %p %p, numpkinds.%d %ld\n",ramchain->hashmem,ramchain->A,ramchain->creditsA,ramchain->H.data->numpkinds,sizeof(*ramchain->A) * ramchain->H.data->numpkinds); |
|
|
printf("hashmem.%p Free A %p %p, numpkinds.%d %ld\n",ramchain->hashmem,ramchain->A,ramchain->creditsA,ramchain->H.data->numpkinds,sizeof(*ramchain->A) * ramchain->H.data->numpkinds); |
|
|
myfree(ramchain->A,sizeof(*ramchain->A) * ramchain->H.data->numpkinds), ramchain->A = 0; |
|
|
if ( ramchain->hashmem == 0 ) |
|
|
|
|
|
myfree(ramchain->A,sizeof(*ramchain->A) * ramchain->H.data->numpkinds), ramchain->A = 0; |
|
|
} |
|
|
} |
|
|
//if ( ramchain->U2 != ramchain->roU2 )
|
|
|
//if ( ramchain->U2 != ramchain->roU2 )
|
|
|
// myfree(ramchain->U2,sizeof(*ramchain->U2) * ramchain->H.data->numunspents), ramchain->U2 = 0;
|
|
|
// myfree(ramchain->U2,sizeof(*ramchain->U2) * ramchain->H.data->numunspents), ramchain->U2 = 0;
|
|
|