Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions native/com4j.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ JNIEXPORT jobject JNICALL Java_com4j_Native_invokeDispatch( JNIEnv* env, jclass
error(env,__FILE__,__LINE__,hr,"Invocation failed: %s",(LPCSTR)_bstr_t(excepInfo.bstrDescription));
}

for(unsigned int i=0; i<params.cArgs; i++ )
VariantClear(&p[i]);
delete[] p;

return retVal;
Expand Down