Don't bother freeing import dialog memory. Thus avoid crashes.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 29 Aug 2015 12:42:29 +0000 (14:42 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 29 Aug 2015 12:42:29 +0000 (14:42 +0200)
commit1a528fdab462b59506d56b3d20c5c96455f5e561
tree20a4068ca73c3c7f34d5819ff73ce6e44a5b5db2
parent3ebc72b4576ece653f929e728f96bcf03d9c32fa
Don't bother freeing import dialog memory. Thus avoid crashes.

A number of users have complained that the import dialog assistant
crashes on exit.  This seems to be because some callback is accessing
the data after it has been freed.

This change "fixes" that by simply not ever freeing the data.  This
will cause a memory leak.  However during my investigations, I have
found that this dialog leaks so much anyway that these few bytes are
hardly significant.

A proper fix will hopefully be forthcoming.

Affects bug #45805
src/ui/gui/text-data-import-dialog.c