]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix memory handling in main in user_user/client.c 800/head
authorRobbie Harwood <rharwood@redhat.com>
Wed, 20 Jun 2018 15:18:46 +0000 (11:18 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 26 Jun 2018 15:33:06 +0000 (11:33 -0400)
commitce06d9b9fcac2443f630574cf5012408f2da3a17
tree82821667abd66653361a4307dda1e36de29726cf
parentdb479eb8d76e04ad3227263dd01e80d300c3fd9f
Fix memory handling in main in user_user/client.c

Static analyzers (here, clang) prefer explicit exit() calls rather
than return statements from main() when resources are not to be
released.

Also, eliminate dead call to krb5_recvauth() and close the
communication socket.
src/appl/user_user/client.c