From 1a66014b9ec1e0f1dedfe57b9f275fd36e6f53e9 Mon Sep 17 00:00:00 2001 From: hw_llm Date: Tue, 11 Feb 2025 11:35:08 +0800 Subject: [PATCH] =?UTF-8?q?Description:=20nfs=5Fbind=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E5=86=85=E5=AD=98=E6=B3=84=E9=9C=B2=E9=A3=8E=E9=99=A9=20IssueN?= =?UTF-8?q?o:=20https://gitee.com/openharmony/third=5Fparty=5FNuttX/issues?= =?UTF-8?q?/IBLGE4=20Feature=20Or=20Bugfix:=20Bugfix=20Binary=20Source:=20?= =?UTF-8?q?No=20Signed-off-by:=20hw=5Fllm=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fs/nfs/nfs_adapter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nfs/nfs_adapter.c b/fs/nfs/nfs_adapter.c index ae61c8c..eacf823 100644 --- a/fs/nfs/nfs_adapter.c +++ b/fs/nfs/nfs_adapter.c @@ -563,6 +563,7 @@ int nfs_bind(struct Vnode *blkdriver, const void *data, error = pthread_mutex_init(&nmp->nm_mux, &attr); if (error) { + free(nmp); return -error; } -- Gitee