Commit 49ec2fa
fabtests/efa: Fix the av operation
Currently, open_client uses an intermediate ptr av
to stage the value of avs array element, and only open
av for that av ptr only. However, this av is not tracked
after the function returns and become a wild pointer.
This patch fixes this issue by operating on the avs array
directly so it can be cleaned up properly during the free
functions
Signed-off-by: Shi Jin <[email protected]>1 parent 6e4645d commit 49ec2fa
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
387 | 387 | | |
388 | | - | |
389 | | - | |
390 | | - | |
| 388 | + | |
391 | 389 | | |
392 | 390 | | |
393 | 391 | | |
| |||
399 | 397 | | |
400 | 398 | | |
401 | 399 | | |
402 | | - | |
| 400 | + | |
403 | 401 | | |
404 | 402 | | |
405 | 403 | | |
| |||
0 commit comments