All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH 1/3] Fix mem
Date: Sat, 26 Mar 2011 10:59:33 +0100	[thread overview]
Message-ID: <4D8DB905.7020100@redhat.com> (raw)
In-Reply-To: <e943c109d457bd2cc89c836ae810ec9b8c7bb8f3.1301089240.git.zkabelac@redhat.com>

On 03/25/2011 10:57 PM, Zdenek Kabelac wrote:

> -		unlock_and_free_vg(cmd, vg_from, vg_name_from);
> -		unlock_and_free_vg(cmd, vg_to, vg_name_to);
> +		unlock_vg(cmd, vg_name_from);
> +		unlock_vg(cmd, vg_name_to);
> +		free_vg(vg_to);
> +		free_vg(vg_from);

I guess there is still request to do proper deep copy...

Anyway, this is so simple and obvious for now -> ACK

Milan



  reply	other threads:[~2011-03-26  9:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25 21:57 [PATCH 0/3] Memory fixes Zdenek Kabelac
2011-03-25 21:57 ` [PATCH 1/3] Fix mem Zdenek Kabelac
2011-03-26  9:59   ` Milan Broz [this message]
2011-03-26 13:04     ` Zdenek Kabelac
2011-03-25 21:57 ` [PATCH 2/3] Set our own in/out buffers Zdenek Kabelac
2011-03-26 10:09   ` Milan Broz
2011-03-26 12:53     ` Zdenek Kabelac
2011-04-04 12:09       ` Zdenek Kabelac
2011-03-25 21:57 ` [PATCH 3/3] Valgrind updates Zdenek Kabelac

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=4D8DB905.7020100@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.