1、修改释放handle 指针是没有判断为空的bug

This commit is contained in:
fumingwei
2020-09-10 11:30:41 +08:00
parent af136f1897
commit 8f2c00fd6e

View File

@@ -2407,9 +2407,8 @@ error_out:
extern "C" void kni_destroy(struct kni_handle *handle){
if(handle != NULL){
FREE(&handle);
}
FREE(&handle);
handle = NULL;
}