]> git.sur5r.net Git - openldap/commitdiff
fix one-time leak
authorPierangelo Masarati <ando@openldap.org>
Mon, 8 Sep 2008 15:21:51 +0000 (15:21 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 8 Sep 2008 15:21:51 +0000 (15:21 +0000)
servers/slapd/main.c

index 5f841086c43acaee59bb80cc50dd4bbbf2b1d803..605cff381abd2697e192ecd9a1e6a9b4dda9885b 100644 (file)
@@ -1030,6 +1030,8 @@ stop:
                ch_free( configdir );
        if ( urls )
                ch_free( urls );
+       if ( global_host )
+               ch_free( global_host );
 
        /* kludge, get symbols referenced */
        tavl_free( NULL, NULL );