public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <steved@redhat.com>
To: 597607025@qq.com, linux-nfs@vger.kernel.org
Cc: zhangyaqi@kylinos.cn
Subject: Re: [PATCH] nfsdcld:Fix a memory leak
Date: Wed, 7 May 2025 10:14:19 -0400	[thread overview]
Message-ID: <a5abb4c4-e9a3-42db-9aa0-1f442496d65a@redhat.com> (raw)
In-Reply-To: <tencent_44C49EC60F8F9D7E3647861067115D0DEA05@qq.com>



On 5/3/25 1:33 AM, 597607025@qq.com wrote:
> From: zhangyaqi <zhangyaqi@kylinos.cn>
> 
> Signed-off-by: zhangyaqi <zhangyaqi@kylinos.cn>
Committed... (tag: nfs-utils-2-8-4-rc1)

steved.

> ---
>   utils/nfsdcld/nfsdcld.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c
> index f7737d92..8551dc97 100644
> --- a/utils/nfsdcld/nfsdcld.c
> +++ b/utils/nfsdcld/nfsdcld.c
> @@ -822,6 +822,7 @@ main(int argc, char **argv)
>   	evbase = event_base_new();
>   	if (evbase == NULL) {
>   		fprintf(stderr, "%s: unable to allocate event base.\n", argv[0]);
> +		free(progname);
>   		return 1;
>   	}
>   	xlog_syslog(0);


      reply	other threads:[~2025-05-07 14:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-03  5:33 [PATCH] nfsdcld:Fix a memory leak 597607025
2025-05-07 14:14 ` Steve Dickson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5abb4c4-e9a3-42db-9aa0-1f442496d65a@redhat.com \
    --to=steved@redhat.com \
    --cc=597607025@qq.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=zhangyaqi@kylinos.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox