mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-16 05:21:16 +02:00
12 lines
364 B
C
12 lines
364 B
C
--- ./libraries/libldap/tls_o.c.orig 2015-08-14 17:25:28.000000000 +0200
|
|
+++ ./libraries/libldap/tls_o.c 2015-09-23 13:55:00.891905000 +0200
|
|
@@ -475,7 +475,7 @@
|
|
xn = X509_get_subject_name(x);
|
|
der_dn->bv_len = i2d_X509_NAME( xn, NULL );
|
|
der_dn->bv_val = xn->bytes->data;
|
|
- X509_free(x);
|
|
+ /* Don't X509_free, the session is still using it */
|
|
return 0;
|
|
}
|
|
|