From 84c4e2f13dc5b9282db643eb1d829392e2437bff Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 17 Feb 2009 16:10:21 +0000 Subject: [PATCH] pull up r21860 from trunk ------------------------------------------------------------------------ r21860 | raeburn | 2009-02-02 11:54:38 -0500 (Mon, 02 Feb 2009) | 7 lines Changed paths: M /trunk/src/kdc/main.c ticket: 6356 subject: small storage leak in KDC startup target_version: 1.7 tags: pullup Remove duplicate strdup call. ------------------------------------------------------------------------ ticket: 6356 version_fixed: 1.7 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22007 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