Skip to content

Commit

Permalink
BLS: Add missing delete method for AggregationInfoVector
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Jun 21, 2019
1 parent 30b35a3 commit 4f342d5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wallet/cpp/dashj-bls/dashj-bls-signature-wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3836,6 +3836,14 @@ SWIGEXPORT void JNICALL Java_org_dashj_bls_JNI_AggregationInfoVector_1removeRang
std_vector_Sl_bls_AggregationInfo_Sg__removeRange(arg1,arg2,arg3);
}

SWIGEXPORT void JNICALL Java_org_dashj_bls_JNI_delete_1AggregationInfoVector(JNIEnv *jenv, jclass jcls, jlong jarg1) {
std::vector< bls::AggregationInfo > *arg1 = (std::vector< bls::AggregationInfo > *) 0 ;

(void)jenv;
(void)jcls;
arg1 = *(std::vector< bls::AggregationInfo > **)&jarg1;
delete arg1;
}

#ifdef __cplusplus
}
Expand Down

0 comments on commit 4f342d5

Please sign in to comment.