[PATCH v2] hidclass.sys: Handle POP and PUSH in device descriptors

Sebastian Lackner sebastian at fds-team.de
Mon Nov 14 08:22:16 CST 2016


On 14.11.2016 15:08, Aric Stewart wrote:
> +    if (!list_empty(&caps_stack))
> +    {
> +        struct caps_stack *entry, *cursor;
> +        ERR("%i unpopped device caps on the stack\n", list_count(&caps_stack));
> +        LIST_FOR_EACH_ENTRY_SAFE(entry, cursor, &caps_stack, struct caps_stack, entry)
> +            list_remove(&entry->entry);

I assume you also wanted to deallocate the remaining blocks?

> +    }




More information about the wine-devel mailing list