diff options
Diffstat (limited to 'www/libepc/files/patch-libepc_service-monitor.c')
-rw-r--r-- | www/libepc/files/patch-libepc_service-monitor.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/libepc/files/patch-libepc_service-monitor.c b/www/libepc/files/patch-libepc_service-monitor.c new file mode 100644 index 000000000000..db6cff0345c8 --- /dev/null +++ b/www/libepc/files/patch-libepc_service-monitor.c @@ -0,0 +1,15 @@ +--- libepc/service-monitor.c.orig 2008-03-24 00:54:58.000000000 +0100 ++++ libepc/service-monitor.c 2008-03-24 00:56:35.000000000 +0100 +@@ -307,7 +307,11 @@ epc_service_monitor_dispose (GObject *ob + + while (self->priv->browsers) + { +- avahi_service_browser_free (self->priv->browsers->data); ++ // This is evil, the real fix would be to prevent NULL entries from being added. ++ if (self->priv->browsers->data != NULL) ++ { ++ avahi_service_browser_free (self->priv->browsers->data); ++ } + self->priv->browsers = g_slist_delete_link (self->priv->browsers, self->priv->browsers); + } + |