Commit c8ab4464 by Richard Stallman

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

From-SVN: r4925
parent ea8fbf8a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment