Skip to content

Conversation

@drwootton
Copy link

Coverity static analysis reports a memory leak at exit from the dpm_convert function (line 822).

The variable ck is allocated by strdup in the loop at line 729. If control falls thru the end of the loop, ck is not freed.

This is fixed by freeing ck at the end of the loop.
Coverity CID 1462618

Signed-off-by: David Wootton [email protected]

Coverity CID 1462618

Signed-off-by: David Wootton <[email protected]>
@drwootton drwootton requested a review from devreal December 12, 2022 19:02
@drwootton drwootton self-assigned this Dec 12, 2022
@jjhursey jjhursey merged commit fefae1a into open-mpi:main Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants