Fix double free at init time.
This commit is contained in:
parent
0876e783f3
commit
d96543f1db
@ -468,7 +468,6 @@ static int add_connection(bip_t *bip, struct user *user, list_t *data)
|
|||||||
l->ssl_check_mode = SSL_CHECK_BASIC;
|
l->ssl_check_mode = SSL_CHECK_BASIC;
|
||||||
if (strcmp(t->pdata, "ca") == 0)
|
if (strcmp(t->pdata, "ca") == 0)
|
||||||
l->ssl_check_mode = SSL_CHECK_CA;
|
l->ssl_check_mode = SSL_CHECK_CA;
|
||||||
free(t->pdata);
|
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user