aboutsummaryrefslogtreecommitdiff
path: root/missing/getopt.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-21 10:21:18 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-21 10:21:18 -0800
commit83bd60614e0a6445c1be5549f1728347684cd889 (patch)
tree72a0861c5f1d056494300d11878ced88c9546fa4 /missing/getopt.c
parentedd3bb9947a23bfa46f1b1503d363a277c163526 (diff)
Free the socket temporary when appropriate.
If we're using threads, free it if the attempt to create the thread fails. If we're using subprocesses, free it in the parent process, which isn't using it. (We don't really teed the socket temporary if we're using subprocesses, as the socket value won't be overwritten - the multiple socket opens are done in separate processes.) This should fix Coverity CID 1418994.
Diffstat (limited to 'missing/getopt.c')
0 files changed, 0 insertions, 0 deletions