main: exec_self: make clang analyzer happy
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 21 Oct 2019 12:59:24 +0000 (12:59 +0000)
committerJo-Philipp Wich <jo@mein.io>
Tue, 29 Oct 2019 08:26:24 +0000 (09:26 +0100)
commitee26d83e983f93333b9d5147285cb902bb6cc737
tree8a92539b3151ceca3aac9b2c75e8492611bbd0b8
parent90e40bd3d5b6d164be4c1f3583a13dc2f34d6563
main: exec_self: make clang analyzer happy

Prevent a theoretical leak of the args memory when the executable path
cannot be found.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
[fix whitespace, commit description]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
main.c