diff --git a/core/manager/src/devhost_service_clnt.c b/core/manager/src/devhost_service_clnt.c index cebd88d4..12d7f446 100644 --- a/core/manager/src/devhost_service_clnt.c +++ b/core/manager/src/devhost_service_clnt.c @@ -51,7 +51,9 @@ int DevHostServiceClntInstallDriver(struct DevHostServiceClnt *hostClnt) HDF_LOGE("failed to install driver %s, ret = %d", deviceInfo->svcName, ret); continue; } +#ifndef __USER__ HdfSListIteratorRemove(&it); +#endif } return HDF_SUCCESS; }