From 8f2c00fd6e9ae6cbfbd056478334eaca899f861f Mon Sep 17 00:00:00 2001 From: fumingwei Date: Thu, 10 Sep 2020 11:30:41 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9=E9=87=8A=E6=94=BEh?= =?UTF-8?q?andle=20=E6=8C=87=E9=92=88=E6=98=AF=E6=B2=A1=E6=9C=89=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E4=B8=BA=E7=A9=BA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/kni_entry.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }