Commit 3122d5d
committed
nvme-print, ocp-print-json: fix to output alloc_error
Since it was set incorrectly to the _cleanup_free_ value.
Then the alloc_error pointer is freed but not allocated.
Signed-off-by: Tokunori Ikegami <[email protected]>1 parent 4fa9505 commit 3122d5d
3 files changed
Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
5357 | 5357 | | |
5358 | 5358 | | |
5359 | 5359 | | |
5360 | | - | |
| 5360 | + | |
5361 | 5361 | | |
5362 | | - | |
| 5362 | + | |
5363 | 5363 | | |
5364 | 5364 | | |
5365 | 5365 | | |
| |||
5371 | 5371 | | |
5372 | 5372 | | |
5373 | 5373 | | |
5374 | | - | |
| 5374 | + | |
5375 | 5375 | | |
5376 | | - | |
| 5376 | + | |
| 5377 | + | |
5377 | 5378 | | |
5378 | 5379 | | |
5379 | 5380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6281 | 6281 | | |
6282 | 6282 | | |
6283 | 6283 | | |
6284 | | - | |
| 6284 | + | |
6285 | 6285 | | |
6286 | | - | |
| 6286 | + | |
6287 | 6287 | | |
6288 | 6288 | | |
6289 | 6289 | | |
| |||
6293 | 6293 | | |
6294 | 6294 | | |
6295 | 6295 | | |
6296 | | - | |
| 6296 | + | |
6297 | 6297 | | |
6298 | 6298 | | |
6299 | 6299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments