(reload): Don't free scratch_list or scratch_block if 0.

From-SVN: r4925
This commit is contained in:
Richard Stallman 1993-07-15 05:14:36 +00:00
parent ea8fbf8a33
commit c8ab446488
1 changed files with 4 additions and 2 deletions

View File

@ -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;