14 Nov
2016
14 Nov
'16
8:22 a.m.
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?
+ }