Commit d187b21
committed
fabrics: Duplicate strings when merging configs
We have to use strdup here, because the merged config will be freeing
these pointers eventually. Without it, we are going to double free it.
Signed-off-by: Daniel Wagner <[email protected]>1 parent 1dd2e76 commit d187b21
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
194 | 196 | | |
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
199 | | - | |
200 | | - | |
| 201 | + | |
| 202 | + | |
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
| |||
0 commit comments