From bf4ed09c5ee19e0318f59aa3afff9370d8e13822 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 14 Jan 2015 14:16:24 +0000 Subject: [PATCH] Plug leak (coverity) --- libraries/libldap/request.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index 20a6c39ca0..d922d2d544 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -1438,6 +1438,7 @@ ldap_chase_referrals( LDAP *ld, id, sref, srv, &rinfo.ri_request ); if ( ber == NULL ) { + ldap_free_urllist( srv ); return -1 ; } -- 2.39.5