From: Milan Broz <mbroz@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] dmeventd coredump fix
Date: Thu, 21 Jan 2010 14:34:46 +0100 [thread overview]
Message-ID: <4B5857F6.7070505@redhat.com> (raw)
In-Reply-To: <4B5065D4.10108@redhat.com>
On 01/15/2010 01:55 PM, Zdenek Kabelac wrote:
> So here comes simpler version which only clears structure elements right after
> they are being released:
>
> --- tools/lvmcmdline.c 11 Jan 2010 19:19:17 -0000 1.111
> +++ tools/lvmcmdline.c 15 Jan 2010 12:51:58 -0000
> @@ -1213,6 +1213,10 @@ static void _fin_commands(void)
> dm_free(_cmdline.commands[i].valid_args);
>
> dm_free(_cmdline.commands);
> +
> + _cmdline.commands = NULL;
> + _cmdline.num_commands = 0;
> + _cmdline.commands_size = 0;
ack.
Milan
prev parent reply other threads:[~2010-01-21 13:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4B4EDBDF.7070509@redhat.com>
2010-01-15 12:55 ` [PATCH] dmeventd coredump fix Zdenek Kabelac
2010-01-20 12:53 ` Zdenek Kabelac
2010-01-21 13:34 ` Milan Broz [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=4B5857F6.7070505@redhat.com \
--to=mbroz@redhat.com \
--cc=lvm-devel@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.