sudo-project/sudo

Memory leak in function 'get_editor'

JoraGevorgyan opened this issue · 1 comments

The memory leak is found by a static analyzer developed at CAST.

The memory allocated at line 387 may left without free in case of exit from line 404

I'm sorry but that doesn't count as a leak, there is no need to free memory before exit. All memory is freed when the process exits.