diff --git a/ext/com_dotnet/com_iterator.c b/ext/com_dotnet/com_iterator.c index 4569023221a..c179b567216 100644 --- a/ext/com_dotnet/com_iterator.c +++ b/ext/com_dotnet/com_iterator.c @@ -232,7 +232,7 @@ fail: if (I) { VariantClear(&I->safe_array); VariantClear(&I->v); - free(I); + efree(I); } return NULL; }