From 002b34d77839ada5cb292813849c25a0a8f4959f Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 8 Mar 2016 02:59:11 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 8a9abe342..542cf44d8 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1489,7 +1489,7 @@ int32_t iguana_ramchain_free(struct iguana_ramchain *ramchain,int32_t deleteflag } 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); S = (void *)(long)((long)ramchain->H.data + (long)ramchain->H.data->Soffset);