]> git.sur5r.net Git - openldap/commitdiff
initialize Sockbuf * to NULL
authorBen Collins <bcollins@openldap.org>
Fri, 15 Sep 2000 03:05:27 +0000 (03:05 +0000)
committerBen Collins <bcollins@openldap.org>
Fri, 15 Sep 2000 03:05:27 +0000 (03:05 +0000)
libraries/libldap/request.c

index 91ac6d0761a4e27a4d2247d6bde332854d4026f1..82be383618644c4d185c0b019b555b9530e0961b 100644 (file)
@@ -236,7 +236,7 @@ ldap_new_connection( LDAP *ld, LDAPURLDesc *srvlist, int use_ldsb,
 {
        LDAPConn        *lc;
        LDAPURLDesc     *srv;
-       Sockbuf         *sb;
+       Sockbuf         *sb = NULL;
 
        Debug( LDAP_DEBUG_TRACE, "ldap_new_connection\n", 0, 0, 0 );
        /*