]> git.sur5r.net Git - openldap/commitdiff
Plug memory leak
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 27 Dec 1998 03:11:13 +0000 (03:11 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 27 Dec 1998 03:11:13 +0000 (03:11 +0000)
servers/slapd/tools/ldif2id2children.c

index 08d62dfe53e4080725eaad14287fcee4ae03ed6a..3a0b285a49d75d5d022d1bc9856038147b96cd2c 100644 (file)
@@ -214,6 +214,8 @@ main( int argc, char **argv )
                        line[0] = '\0';
                }
        }
+       if ( buf )
+               free( buf );
 
        /*
         * next, make the id2children index