Use the new ctrl_alloc_with_free to clean up a long-standing FIXME in
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 14 Jul 2013 10:46:34 +0000 (10:46 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 14 Jul 2013 10:46:34 +0000 (10:46 +0000)
commit6873e9f8610ad4b2d7f1209a530492091c51ae19
tree6c6e8e2f70380eb402664b2330663eb336f187c6
parentf0ee0238ecb4627c4bff91394767a2168201ad4f
Use the new ctrl_alloc_with_free to clean up a long-standing FIXME in
the session saving code, in which the contents of the edit box giving
the current saved session name was stored in a horrid place with a
fixed length. Now it's dangling off sessionsaver_data as it always
ought to have been, and it's dynamically reallocated to the
appropriate length, and there's a free function that cleans it up at
the end of the dialog's lifetime.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9923 cda61777-01e9-0310-a592-d414129be87e
config.c