]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Use the new ctrl_alloc_with_free to clean up a long-standing FIXME in
authorSimon Tatham <anakin@pobox.com>
Sun, 14 Jul 2013 10:46:34 +0000 (10:46 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 14 Jul 2013 10:46:34 +0000 (10:46 +0000)
commit7554dd5a9c39f035a0a71a6e2ccb10e64f80d313
tree6c6e8e2f70380eb402664b2330663eb336f187c6
parentff09d5379bd9f6fdb43c55be1ca5244247691f22
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.

[originally from svn r9923]
config.c