summaryrefslogtreecommitdiffstats
path: root/x11/yelp/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/yelp/files')
-rw-r--r--x11/yelp/files/patch-src_yelp-document.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/yelp/files/patch-src_yelp-document.c b/x11/yelp/files/patch-src_yelp-document.c
new file mode 100644
index 000000000..a3dd9289d
--- /dev/null
+++ b/x11/yelp/files/patch-src_yelp-document.c
@@ -0,0 +1,16 @@
+--- src/yelp-document.c.orig 2008-09-11 20:20:59.000000000 -0400
++++ src/yelp-document.c 2008-09-11 20:20:40.000000000 -0400
+@@ -748,6 +749,13 @@ request_idle_final (YelpDocument *docume
+ priv = document->priv;
+
+ g_mutex_lock (priv->mutex);
++
++ if (priv->reqs_pending == NULL) {
++ /*
++ Time to bail as we shouldn't be here anyway.
++ */
++ return FALSE;
++ }
+
+ for (cur = priv->reqs_pending; cur; cur = cur->next) {
+ request = cur->data;