Fossil SCM
Bugfix. Destroy graph object after use.
Commit
7b3928681ea253b08fcc6546387d0e55f42d4526
Parent
770a9b576affade…
1 file changed
+2
| --- tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | ||
| @@ -84,10 +84,12 @@ | ||
| 84 | 84 | } |
| 85 | 85 | if {![llength [dg nodes]]} break |
| 86 | 86 | BreakCycle $dg [FindCycle $dg] |
| 87 | 87 | InitializeCandidates $dg |
| 88 | 88 | } |
| 89 | + | |
| 90 | + dg destroy | |
| 89 | 91 | |
| 90 | 92 | log write 3 cyclebreaker Done. |
| 91 | 93 | return |
| 92 | 94 | } |
| 93 | 95 | |
| 94 | 96 |
| --- tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | |
| +++ tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | |
| @@ -84,10 +84,12 @@ | |
| 84 | } |
| 85 | if {![llength [dg nodes]]} break |
| 86 | BreakCycle $dg [FindCycle $dg] |
| 87 | InitializeCandidates $dg |
| 88 | } |
| 89 | |
| 90 | log write 3 cyclebreaker Done. |
| 91 | return |
| 92 | } |
| 93 | |
| 94 |
| --- tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | |
| +++ tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | |
| @@ -84,10 +84,12 @@ | |
| 84 | } |
| 85 | if {![llength [dg nodes]]} break |
| 86 | BreakCycle $dg [FindCycle $dg] |
| 87 | InitializeCandidates $dg |
| 88 | } |
| 89 | |
| 90 | dg destroy |
| 91 | |
| 92 | log write 3 cyclebreaker Done. |
| 93 | return |
| 94 | } |
| 95 | |
| 96 |