diff options
author | Jens Georg <mail@jensge.org> | 2014-05-25 11:47:01 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2014-05-25 11:47:01 +0200 |
commit | 593746718ac469a2e5aa35c70ecbd9939d2164d8 (patch) | |
tree | 2cd08fcbb46e5b88f86eb1e718fc70386a75222e | |
parent | 8fdd98c381d4c7ddc8d14c90a09e244a0827ab00 (diff) | |
download | gupnp-593746718ac469a2e5aa35c70ecbd9939d2164d8.tar.gz |
Add some comments about ownership
Signed-off-by: Jens Georg <mail@jensge.org>
-rw-r--r-- | libgupnp/gupnp-service-introspection.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgupnp/gupnp-service-introspection.c b/libgupnp/gupnp-service-introspection.c index ebcc7a2..bc19dcb 100644 --- a/libgupnp/gupnp-service-introspection.c +++ b/libgupnp/gupnp-service-introspection.c @@ -194,9 +194,13 @@ gupnp_service_introspection_finalize (GObject *object) g_list_free (introspection->priv->actions); } + /* Contents don't need to be freed, they were owned by priv->variables + */ if (introspection->priv->variable_names) g_list_free (introspection->priv->variable_names); + /* Contents don't need to be freed, they were owned by priv->actions + */ if (introspection->priv->action_names) g_list_free (introspection->priv->action_names); } |