Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
002b34d778
  1. 2
      iguana/iguana_ramchain.c

2
iguana/iguana_ramchain.c

@ -1489,7 +1489,7 @@ int32_t iguana_ramchain_free(struct iguana_ramchain *ramchain,int32_t deleteflag
} }
if ( deleteflag != 0 ) if ( deleteflag != 0 )
{ {
if ( ramchain->expanded == 0 ) if ( ramchain->H.data != 0 && ramchain->expanded == 0 )
{ {
U = (void *)(long)((long)ramchain->H.data + (long)ramchain->H.data->Uoffset); U = (void *)(long)((long)ramchain->H.data + (long)ramchain->H.data->Uoffset);
S = (void *)(long)((long)ramchain->H.data + (long)ramchain->H.data->Soffset); S = (void *)(long)((long)ramchain->H.data + (long)ramchain->H.data->Soffset);

Loading…
Cancel
Save