Commit a5f9da3b authored by Sven Neumann's avatar Sven Neumann Committed by Jens Georg

Fix removal of variable change notifications

Need to pass the key to g_hash_table_remove(), not the
value. This fixes crashes in emit_notification().
Signed-off-by: default avatarSven Neumann <s.neumann@raumfeld.com>
Reviewed-by: default avatarHenry Högelow <h.hoegelow@raumfeld.com>
parent 0459f945
......@@ -1567,7 +1567,7 @@ gupnp_service_proxy_remove_notify (GUPnPServiceProxy *proxy,
if (data->callbacks == NULL) {
/* No callbacks left: Remove from hash */
g_hash_table_remove (proxy->priv->notify_hash,
data);
variable);
}
found = TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment