Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
524f464
)
EDA/ERS: Moved lastDetail definition to fix a Freed Memory Write that would happen...
author
Jerome St-Louis
<jerome@ecere.com>
Tue, 7 Aug 2012 03:15:30 +0000
(23:15 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Tue, 7 Aug 2012 03:15:30 +0000
(23:15 -0400)
eda/libeda/src/ers.ec
patch
|
blob
|
history
diff --git
a/eda/libeda/src/ers.ec
b/eda/libeda/src/ers.ec
index
2b279a6
..
4357814
100644
(file)
--- a/
eda/libeda/src/ers.ec
+++ b/
eda/libeda/src/ers.ec
@@
-137,7
+137,6
@@
public:
void Render(ReportDestination destination, Report report)
{
- Detail lastDetail = null;
bool dontAdvance = false;
bool nil;
level = 0;
@@
-157,6
+156,7
@@
public:
}
for(pageNumber = 1; true; pageNumber++)
{
+ Detail lastDetail = null;
page = Page { orientation = report.orientation };
destination.AddPage(page);
inside = page.inside;