In case of some error during init, data->strings might not yet have been increased...
commit442902f1755a2280d99b60ce5d7d55943912d800
authoro1i <o1i@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 1 Apr 2016 09:24:34 +0000 (1 09:24 +0000)
committero1i <o1i@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 1 Apr 2016 09:24:34 +0000 (1 09:24 +0000)
tree322ac0ebfdb6563482b74a8d82c19000e67d69f9
parent72193436ff0d56adc65cff2bd52bcc1cf7ebd374
In case of some error during init, data->strings might not yet have been increased, so FreeVec(data->strings-1) crashed.
Also avoid possible memleak (checking for data->strings, freeing data->strings-1 only, if it was !NULL).

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@52495 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/libs/muimaster/classes/list.c