diff --git a/entry/src/kni_entry.cpp b/entry/src/kni_entry.cpp index 847422e..8ef5b3f 100644 --- a/entry/src/kni_entry.cpp +++ b/entry/src/kni_entry.cpp @@ -2407,9 +2407,8 @@ error_out: extern "C" void kni_destroy(struct kni_handle *handle){ if(handle != NULL){ - + FREE(&handle); } - FREE(&handle); handle = NULL; }