[+0-all-args] Add a missing +1 guard so this release doesn't happen with a +0 calling convention.

rdar://34222540
This commit is contained in:
Michael Gottesman
2018-02-28 16:48:18 -08:00
committed by Michael Gottesman
parent ee68d4edb7
commit f98fc84957

View File

@@ -54,6 +54,6 @@ intptr_t _swift_stdlib_getDefaultErrorCode(OpaqueValue *error,
}
// Destroy the value.
T->vw_destroy(error);
SWIFT_CC_PLUSONE_GUARD(T->vw_destroy(error));
return result;
}