diff options
Diffstat (limited to 'vpp-japi')
-rw-r--r-- | vpp-japi/japi/vppjni.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vpp-japi/japi/vppjni.c b/vpp-japi/japi/vppjni.c index f7047bb0..83090cf2 100644 --- a/vpp-japi/japi/vppjni.c +++ b/vpp-japi/japi/vppjni.c @@ -901,6 +901,8 @@ static jintArray create_array_of_bd_ids(JNIEnv * env, jint bd_id) (*env)->SetIntArrayRegion(env, bdidArray, 0, vec_len(buf), (int*)buf); + vec_free(buf); + return bdidArray; } |