# HG changeset patch # User Matt Johnston # Date 1170585847 0 # Node ID 253958302381dc22dea3c9f3b564fa952f620226 # Parent ea0929224294c8c0dece70bbdd921b8f106c36d1 Revert bogus fix, make a note that the var is meant to 'leak' diff -r ea0929224294 -r 253958302381 cli-runopts.c --- a/cli-runopts.c Sat Feb 03 13:50:47 2007 +0000 +++ b/cli-runopts.c Sun Feb 04 10:44:07 2007 +0000 @@ -348,7 +348,8 @@ TRACE(("enter addforward")) - /* We probably don't want to be editing argvs */ + /* We need to split the original argument up. This var + is never free()d. */ str = m_strdup(origstr); listenport = str; @@ -400,8 +401,6 @@ newfwd->next = *fwdlist; *fwdlist = newfwd; - m_free(str); - TRACE(("leave addforward: done")) return;