about summary refs log tree commit diff
path: root/libnm-core/nm-utils.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2018-12-10 21:58:18 +0100
committerSebastien Bacher <seb128@ubuntu.com>2018-12-10 21:58:18 +0100
commit227c401a10a930af6fd5f123aef345fcd130d6aa (patch)
treebf992585295f2c1772ddb0db54569b6d22f36642 /libnm-core/nm-utils.c
parente126f3e804c35480c4f075777430419d6ece23da (diff)
Import Upstream version 1.12.6
Diffstat (limited to 'libnm-core/nm-utils.c')
-rw-r--r--libnm-core/nm-utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c
index b700c7f5..950418b9 100644
--- a/libnm-core/nm-utils.c
+++ b/libnm-core/nm-utils.c
@@ -5990,7 +5990,9 @@ attribute_unescape (const char *start, const char *end)
  * Parse attributes from a string.
  *
  * Returns: (transfer full) (element-type utf8 GVariant): a #GHashTable mapping
- * attribute names to #GVariant values.
+ * attribute names to #GVariant values. Warning: the variant are still floating
+ * references, owned by the hash table. If you take a reference, ensure to sink
+ * the one of the hash table first.
  *
  * Since: 1.8
  */