From: Hallvard Furuseth Date: Sun, 22 Aug 1999 03:36:19 +0000 (+0000) Subject: Plug minor memory leak X-Git-Tag: TWEB_OL_BASE~128 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=85c0f926fe0ad1b44a66840b6538148ccb21c529;p=openldap Plug minor memory leak --- diff --git a/servers/slapd/main.c b/servers/slapd/main.c index 53398e9993..e70186bb70 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -226,6 +226,7 @@ int main( int argc, char **argv ) )) != EOF ) { switch ( i ) { case 'h': /* listen URLs */ + if ( urls != NULL ) free( urls ); urls = ch_strdup( optarg ); break;