* dbus/dbus-transport.c: fix invalid deref when checking if
authorJohn (J5) Palmieri <johnp@redhat.com>
Fri, 25 Aug 2006 19:56:00 +0000 (19:56 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Fri, 25 Aug 2006 19:56:00 +0000 (19:56 +0000)
  a vtable method exists (Patch from Christian Ehrlicher
  <ch dot ehrlicher at gmx dot de>)

ChangeLog
dbus/dbus-transport.c

index 86d0bf7..de683b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2006-08-25  John (J5) Palmieri  <johnp@redhat.com>
 
+       * dbus/dbus-transport.c: fix invalid deref when checking if
+       a vtable method exists (Patch from Christian Ehrlicher 
+       <ch dot ehrlicher at gmx dot de>)
+
+2006-08-25  John (J5) Palmieri  <johnp@redhat.com>
+
        * configure.in, dbus/Makefile.am, test/name-test/run-test.sh, 
        test/name-test/Makefile.am: Fixed some issues with getting get dbus 
        to build with builddir != srcdir (Taken from a patch by Bernard Leak
index ca5f747..e155cc4 100644 (file)
@@ -68,7 +68,7 @@ live_messages_size_notify (DBusCounter *counter,
   /* disable or re-enable the read watch for the transport if
    * required.
    */
-  if (transport->vtable->live_messages_changed)
+  if (transport->vtable->live_messages_changed)
     (* transport->vtable->live_messages_changed) (transport);
 
   _dbus_transport_unref (transport);