Commit 290846f1 authored by Simon Morlat's avatar Simon Morlat

Fix memory leak in sofia-sip, when examinig certificates with X509v3 extensions.

parent f0e76eb5
......@@ -11,7 +11,7 @@ dnl information on the package
dnl ---------------------------
dnl update both the version for AC_INIT and the LIBSOFIA_SIP_UA_MAJOR_MINOR
AC_INIT([sofia-sip], [1.13.40bc])
AC_INIT([sofia-sip], [1.13.41bc])
AC_CONFIG_SRCDIR([libsofia-sip-ua/sip/sofia-sip/sip.h])
AC_CONFIG_MACRO_DIR([m4])
AC_SUBST(VER_LIBSOFIA_SIP_UA_MAJOR_MINOR, [1.13])
......
......@@ -798,6 +798,8 @@ int tls_post_connection_check(tport_t *self, tls_t *tls)
else if (strcmp(value->name, "URI") == 0)
su_strlst_dup_append(tls->subjects, value->value);
}
sk_CONF_VALUE_pop_free(values, X509V3_conf_free);
sk_GENERAL_NAME_pop_free(d2i, GENERAL_NAME_free);
}
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment