qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v25 31/31] QemuOpts: cleanup tmp 'allocated' mem


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v25 31/31] QemuOpts: cleanup tmp 'allocated' member from QemuOptsList
Date: Fri, 25 Apr 2014 15:43:27 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Apr 11, 2014 at 01:54:27AM +0800, Chunyan Liu wrote:
>  /* Realloc dst option list and append options from an option list (list)
>   * to it. dst could be NULL or a malloced list.
> + * Result dst has shorter lifetime then input list.

s/then/than/

But I think it's helpful to be more explicit:

The lifetime of dst must be shorter than the input list because the
QemuOptDesc->name, ->help, and ->def_value_str strings are shared.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]