From: Howard Chu Date: Wed, 14 Jan 2015 14:16:24 +0000 (+0000) Subject: Plug leak (coverity) X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bf4ed09c5ee19e0318f59aa3afff9370d8e13822;p=openldap Plug leak (coverity) --- 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 ; }