[PATCH] uadk: fix error incorrect parameters

19 May
2023
19 May
'23
11:41 a.m.
From: Weili Qian <qianweili@huawei.com> The dlclose() parameter must be 'dlhandle' instead of 'dlnode'. Modify the input parameter of the function. Signed-off-by: Weili Qian <qianweili@huawei.com> --- wd_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wd_util.c b/wd_util.c index d8d6482..2b4a53c 100644 --- a/wd_util.c +++ b/wd_util.c @@ -2033,7 +2033,7 @@ void wd_dlclose_drv(void *dlh_list) while (dlhead) { dlnode = dlhead; dlhead = dlhead->next; - dlclose(dlnode); + dlclose(dlnode->dlhandle); free(dlnode); } } -- 2.30.0
648
Age (days ago)
648
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wenkai Lin