(reload): Don't free scratch_list or scratch_block if 0.
From-SVN: r4925
This commit is contained in:
parent
ea8fbf8a33
commit
c8ab446488
|
@ -2000,9 +2000,11 @@ reload (first, global, dumpfile)
|
|||
reg_equiv_constant = 0;
|
||||
reg_equiv_memory_loc = 0;
|
||||
|
||||
free (scratch_list);
|
||||
if (scratch_list)
|
||||
free (scratch_list);
|
||||
scratch_list = 0;
|
||||
free (scratch_block);
|
||||
if (scratch_block)
|
||||
free (scratch_block);
|
||||
scratch_block = 0;
|
||||
|
||||
return failure;
|
||||
|
|
Loading…
Reference in New Issue