diff options
author | Jens Georg <mail@jensge.org> | 2022-11-02 21:23:59 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2022-11-02 21:23:59 +0100 |
commit | 19ccc6560869e6ffe496d56e2b2e54a644483f97 (patch) | |
tree | a4e6688cce8b077366a79b78c39451b77df03ec1 | |
parent | 1b1f74a3c56ae7e0dddd2ea33c3276987511774c (diff) | |
download | gupnp-19ccc6560869e6ffe496d56e2b2e54a644483f97.tar.gz |
ControlPoint: Do not leak cancellable
Properly unref cancellable when being done fetching description
document.
-rw-r--r-- | libgupnp/gupnp-control-point.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgupnp/gupnp-control-point.c b/libgupnp/gupnp-control-point.c index 7c5405e..4bce2fe 100644 --- a/libgupnp/gupnp-control-point.c +++ b/libgupnp/gupnp-control-point.c @@ -104,6 +104,7 @@ get_description_url_data_free (GetDescriptionURLData *data) g_free (data->service_type); g_free (data->description_url); g_object_unref (data->control_point); + g_object_unref (data->cancellable); g_slice_free (GetDescriptionURLData, data); } |