Dynamically allocated item_list must use correct length in item_is_available()
Merge pull request #370 from pnd10/restruct

Dynamically allocated item_list must use correct length in item_is_available()