From b87fac95d4ec88e9affe0f719bec3882bdb23c54 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 2 Feb 2009 16:54:38 +0000 Subject: [PATCH] small storage leak in KDC startup Remove duplicate strdup call. ticket: 6356 target_version: 1.7 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21860 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/kdc/main.c b/src/kdc/main.c index bb4d7584d..91d781404 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -585,7 +585,6 @@ initialize_realms(krb5_context kcontext, int argc, char **argv) } } if (default_tcp_ports == 0) { - default_tcp_ports = strdup(DEFAULT_KDC_TCP_PORTLIST); default_tcp_ports = strdup(DEFAULT_KDC_TCP_PORTLIST); if (default_tcp_ports == 0) { fprintf(stderr," KDC cannot initialize. Not enough memory\n"); -- 2.26.2