]> git.sur5r.net Git - openldap/commitdiff
Plug leak (coverity)
authorHoward Chu <hyc@openldap.org>
Wed, 14 Jan 2015 14:16:24 +0000 (14:16 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 14 Jan 2015 14:16:24 +0000 (14:16 +0000)
libraries/libldap/request.c

index 20a6c39ca0cba74f75da191c1cc70ad6a68dd383..d922d2d5440fb5b9c990974fb10ab29fb771e6be 100644 (file)
@@ -1438,6 +1438,7 @@ ldap_chase_referrals( LDAP *ld,
                    id, sref, srv, &rinfo.ri_request );
 
                if ( ber == NULL ) {
+                       ldap_free_urllist( srv );
                        return -1 ;
                }