Fix crash on exit

This commit is contained in:
Chris Young 2019-05-06 13:31:35 +01:00
parent a4da4612c2
commit 3e3a8e9549

View File

@ -74,7 +74,7 @@ static void ami_openurl_free_list(struct MinList *list)
struct ami_protocol *node;
struct ami_protocol *nnode;
if(IsMinListEmpty(list)) {
if(!IsMinListEmpty(list)) {
node = (struct ami_protocol *)GetHead((struct List *)list);
do