Skip to content

Commit f98fc84

Browse files
committed
[+0-all-args] Add a missing +1 guard so this release doesn't happen with a +0 calling convention.
rdar://34222540
1 parent ee68d4e commit f98fc84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/ErrorDefaultImpls.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ intptr_t _swift_stdlib_getDefaultErrorCode(OpaqueValue *error,
5454
}
5555

5656
// Destroy the value.
57-
T->vw_destroy(error);
57+
SWIFT_CC_PLUSONE_GUARD(T->vw_destroy(error));
5858
return result;
5959
}

0 commit comments

Comments
 (0)