2009-09-04 Mike Gorse <mgorse@novell.com>
authorMike Gorse <mgorse@novell.com>
Fri, 4 Sep 2009 14:26:27 +0000 (09:26 -0500)
committerMike Gorse <mgorse@novell.com>
Fri, 30 Oct 2009 19:10:58 +0000 (15:10 -0400)
Do not dereference row and column header objects.

atk-adaptor/table-adaptor.c

index f57af53..33aaa99 100644 (file)
@@ -332,7 +332,8 @@ impl_getRowHeader (DBusConnection * bus, DBusMessage * message,
       return droute_invalid_arguments_error (message);
     }
   obj = atk_table_get_row_header (table, row);
-  return spi_dbus_return_object (message, obj, TRUE, TRUE);
+  obj = atk_table_get_row_header (table, row);
+  return spi_dbus_return_object (message, obj, TRUE, FALSE);
 }
 
 static DBusMessage *
@@ -353,7 +354,8 @@ impl_getColumnHeader (DBusConnection * bus, DBusMessage * message,
       return droute_invalid_arguments_error (message);
     }
   obj = atk_table_get_column_header (table, column);
-  return spi_dbus_return_object (message, obj, TRUE, TRUE);
+  obj = atk_table_get_column_header (table, column);
+  return spi_dbus_return_object (message, obj, TRUE, FALSE);
 }
 
 static DBusMessage *