This repository was archived by the owner on May 14, 2024. It is now read-only.
Commit 33d21c5
[Comgr] Fix issue in which Path memory freed before return
Previously we freed "Line" before returning. However the StringRef
Path, which was built from the StringRef vector Tokens, depends on
Line, instead of making a copy.
Change-Id: I4861e0cca5c59458f731a7ecb523ac009d285bb01 parent e13ccf3 commit 33d21c5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | | - | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
0 commit comments