st/oxr: Fix segfault due to bad U_ZERO of sub_paths

This commit is contained in:
Jakob Bornecrantz 2019-06-18 21:32:08 +01:00
parent e70a28b912
commit d30cd0b639

View file

@ -205,7 +205,7 @@ oxr_classify_sub_action_paths(struct oxr_logger* log,
size_t length = 0;
// Reset the sub_paths completely.
U_ZERO(&sub_paths);
U_ZERO(sub_paths);
if (num_subaction_paths == 0) {
sub_paths->any = true;