projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea8fbf8
)
(reload): Don't free scratch_list or scratch_block if 0.
author
Richard Stallman
<rms@gnu.org>
Thu, 15 Jul 1993 05:14:36 +0000
(
05:14
+0000)
committer
Richard Stallman
<rms@gnu.org>
Thu, 15 Jul 1993 05:14:36 +0000
(
05:14
+0000)
From-SVN: r4925
gcc/reload1.c
patch
|
blob
|
history
diff --git
a/gcc/reload1.c
b/gcc/reload1.c
index c7ea46f6e5d4328f177da729f575cef64228b137..158b0a3ddc05921b99ff65e1d0e09a3a29a469f5 100644
(file)
--- a/
gcc/reload1.c
+++ b/
gcc/reload1.c
@@
-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;