lookup_unique_name: Handle NULL from msg_box
commit4067e5472795c1dd9152636116271b96819f5941
authorKalle Olavi Niemitalo <kon@iki.fi>
Mon, 20 Jul 2009 22:06:36 +0000 (21 01:06 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Mon, 20 Jul 2009 23:07:10 +0000 (21 02:07 +0300)
treec1425e9f8483df20606bb765bc5876ed8360fe6b
parentb80c0e8a0d9f7aca210e1e0c164f3193a99fcde9
lookup_unique_name: Handle NULL from msg_box

If msg_box() runs out of memory, it returns NULL.  In this case,
the done_handler_T callbacks of the buttons will not be called.  So
lookup_unique_name() must instead free the struct lun_hop on its own.
src/session/download.c