rptun: fix rptun rpmsg_unregister_callback fault

N/A

Change-Id: I6447e2ec71a4020533336f35e2aa97a860742e63
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2020-11-10 22:20:44 +08:00 committed by Xiang Xiao
parent 4e460cd440
commit 09778c38b1

View File

@ -786,6 +786,8 @@ void rpmsg_unregister_callback(FAR void *priv_,
metal_list_del(&cb->node);
kmm_free(cb);
break;
}
}