blob: 8b171d6e89e757edc4e3341071335f775c5a81da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/gtk/gtkselection.c 2011-05-01 18:50:42.000000000 -0700
+++ b/gtk/gtkselection.c 2011-05-02 15:08:03.000000000 -0700
@@ -552,7 +552,8 @@
while (tmp_list)
{
GtkTargetPair *pair = tmp_list->data;
-
+ if (pair == NULL)
+ continue;
if (pair->target == target)
{
if (info)
--- a/gtk/gtkdnd-quartz.c~ 2011-05-01 18:50:47.000000000 -0700
+++ b/gtk/gtkdnd-quartz.c 2011-05-02 22:38:08.000000000 -0700
@@ -499,6 +499,7 @@
gtk_target_list_unref (site->target_list);
g_free (site);
+ site = NULL;
}
void
|