[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-5.1 4/5] qom: Document object_get_canonical_path() return
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH for-5.1 4/5] qom: Document object_get_canonical_path() returns malloced string |
Date: |
Tue, 14 Jul 2020 18:23:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 7/14/20 6:02 PM, Markus Armbruster wrote:
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
> include/qom/object.h | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/include/qom/object.h b/include/qom/object.h
> index 55d925d2c8..0f3a60617c 100644
> --- a/include/qom/object.h
> +++ b/include/qom/object.h
> @@ -1467,8 +1467,9 @@ const char *object_get_canonical_path_component(const
> Object *obj);
> /**
> * object_get_canonical_path:
> *
> - * Returns: The canonical path for a object. This is the path within the
> - * composition tree starting from the root.
> + * Returns: The canonical path for a object, newly allocated. This is
> + * the path within the composition tree starting from the root. Use
> + * g_free() to free it.
> */
> char *object_get_canonical_path(const Object *obj);
>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
- [PATCH for-5.1 0/5] qom: HMP command fixes, Markus Armbruster, 2020/07/14
- [PATCH for-5.1 4/5] qom: Document object_get_canonical_path() returns malloced string, Markus Armbruster, 2020/07/14
- Re: [PATCH for-5.1 4/5] qom: Document object_get_canonical_path() returns malloced string,
Philippe Mathieu-Daudé <=
- [PATCH for-5.1 5/5] qom: Make info qom-tree sort children more efficiently, Markus Armbruster, 2020/07/14
- [PATCH for-5.1 2/5] qom: Plug memory leak in "info qom-tree", Markus Armbruster, 2020/07/14
- [PATCH for-5.1 1/5] qdev: Fix device_add DRIVER, help to print to monitor, Markus Armbruster, 2020/07/14