aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-10-21 14:17:43 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-10-21 22:23:00 +0100
commite6d100354317475412161a487ffbcf36582115c5 (patch)
tree9a23232d30c73bbdb763779027fea2f636516bdb /gcc/expr.h
parent1373066a46d8d47abd97e46a005aef3b3dbfe94a (diff)
downloadgcc-e6d100354317475412161a487ffbcf36582115c5.zip
gcc-e6d100354317475412161a487ffbcf36582115c5.tar.gz
gcc-e6d100354317475412161a487ffbcf36582115c5.tar.bz2
libcody: Avoid double-free
If the listen call fails then 'goto fail' will jump to that label and use freeaddrinfo again. Set the pointer to null to prevent that. libcody/ChangeLog: * netserver.cc (ListenInet6): Set pointer to null after deallocation.
Diffstat (limited to 'gcc/expr.h')
0 files changed, 0 insertions, 0 deletions