From 85c0f926fe0ad1b44a66840b6538148ccb21c529 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 22 Aug 1999 03:36:19 +0000 Subject: [PATCH] Plug minor memory leak --- servers/slapd/main.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5