# HG changeset patch # User Nathan Walp # Date 1086586176 0 # Node ID b83905afbb555ac51d20831dacd53b76cd785f23 # Parent 395e62cf7bf66c15c5ab82b6b6e5d958386b057d [gaim-migrate @ 10026] memory leaks are bad committer: Tailor Script diff -r 395e62cf7bf6 -r b83905afbb55 src/util.c --- a/src/util.c Mon Jun 07 04:46:01 2004 +0000 +++ b/src/util.c Mon Jun 07 05:29:36 2004 +0000 @@ -2384,7 +2384,6 @@ * URI/URL Functions **************************************************************************/ /* - * XXX - Make this also support extracting a username and password? * Would be nice when dissecting an environmental variable * that specifies proxy information. */ @@ -2429,7 +2428,7 @@ *passwd = '\0'; } - url = strdup(at+1); /* move pointer after the @ char */ + url = at+1; /* move pointer after the @ char */ } else { *user = '\0'; *passwd = '\0';