From 09778c38b1d63f8a8fd02441129bc721c2a33aa9 Mon Sep 17 00:00:00 2001 From: ligd Date: Tue, 10 Nov 2020 22:20:44 +0800 Subject: [PATCH] rptun: fix rptun rpmsg_unregister_callback fault N/A Change-Id: I6447e2ec71a4020533336f35e2aa97a860742e63 Signed-off-by: ligd --- drivers/rptun/rptun.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rptun/rptun.c b/drivers/rptun/rptun.c index 9effce1f78..e204fd22cb 100644 --- a/drivers/rptun/rptun.c +++ b/drivers/rptun/rptun.c @@ -786,6 +786,8 @@ void rpmsg_unregister_callback(FAR void *priv_, metal_list_del(&cb->node); kmm_free(cb); + + break; } }