projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* support/Util/NewAlloc.c (freeTrace): Changed free for the gc case to not free...
[fw/sdcc]
/
support
/
cpp
/
cppexp.c
diff --git
a/support/cpp/cppexp.c
b/support/cpp/cppexp.c
index b6331c73d50f5d162b64447801e31d65bf03583e..2bc875f70a65f3b9dc2f7b1c014e266797e9f663 100644
(file)
--- a/
support/cpp/cppexp.c
+++ b/
support/cpp/cppexp.c
@@
-965,7
+965,7
@@
cpp_parse_expr (
if (top != stack)
cpp_error (pfile, "internal error in #if expression");
if (stack != init_stack)
if (top != stack)
cpp_error (pfile, "internal error in #if expression");
if (stack != init_stack)
- free (stack);
+
Safe_
free (stack);
return top->value;
}
top++;
return top->value;
}
top++;
@@
-994,7
+994,7
@@
cpp_parse_expr (
}
syntax_error:
if (stack != init_stack)
}
syntax_error:
if (stack != init_stack)
- free (stack);
+
Safe_
free (stack);
skip_rest_of_line (pfile);
return 0;
}
skip_rest_of_line (pfile);
return 0;
}