1、修改释放handle 指针是没有判断为空的bug
This commit is contained in:
@@ -2407,9 +2407,8 @@ error_out:
|
|||||||
|
|
||||||
extern "C" void kni_destroy(struct kni_handle *handle){
|
extern "C" void kni_destroy(struct kni_handle *handle){
|
||||||
if(handle != NULL){
|
if(handle != NULL){
|
||||||
|
|
||||||
}
|
|
||||||
FREE(&handle);
|
FREE(&handle);
|
||||||
|
}
|
||||||
handle = NULL;
|
handle = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user