Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ relpTcpInitTLS(relpTcp_t *const pThis)
static relpRetVal
relpTcpChkPeerAuth(relpTcp_t *const pThis)
{
X509* certpeer;
X509 *certpeer = NULL;
int r;
ENTER_RELPFUNC;

Expand Down Expand Up @@ -1502,6 +1502,8 @@ relpTcpChkPeerAuth(relpTcp_t *const pThis)
}

finalize_it:
if(certpeer != NULL)
X509_free(certpeer);
LEAVE_RELPFUNC;
}

Expand Down
1 change: 1 addition & 0 deletions tests/tls-basic-vg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if [ "$VALGRIND" == "NO" ] ; then
echo "valgrind tests are not permitted by environment config"
exit 77
fi
export valgrind="$valgrind --leak-check=full --show-leak-kinds=definite --errors-for-leak-kinds=definite --error-exitcode=10"
if [ $(uname) = "SunOS" ] ; then
echo "This test currently does not work on all flavors of Solaris."
exit 77
Expand Down
Loading