Hello community, here is the log from the commit of package at-spi2-core for openSUSE:Factory checked in at 2013-08-16 12:27:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/at-spi2-core (Old) and /work/SRC/openSUSE:Factory/.at-spi2-core.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "at-spi2-core" Changes: -------- --- /work/SRC/openSUSE:Factory/at-spi2-core/at-spi2-core.changes 2013-07-16 14:09:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.at-spi2-core.new/at-spi2-core.changes 2013-08-16 12:27:52.000000000 +0200 @@ -1,0 +2,10 @@ +Tue Jul 30 07:04:50 UTC 2013 - dims...@opensuse.org + +- Update to version 2.9.5: + + Fix possible memory leak when D-Bus calls time out. + + Fix a memory leak in atspi_accessible_get_role_name that was + introduced earlier in the 2.9 cycle with the enum refactor. + + A couple of functions not intended for introspection are now + marked as skip. + +------------------------------------------------------------------- Old: ---- at-spi2-core-2.9.4.tar.xz New: ---- at-spi2-core-2.9.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ at-spi2-core.spec ++++++ --- /var/tmp/diff_new_pack.3Om3VO/_old 2013-08-16 12:27:53.000000000 +0200 +++ /var/tmp/diff_new_pack.3Om3VO/_new 2013-08-16 12:27:53.000000000 +0200 @@ -17,7 +17,7 @@ Name: at-spi2-core -Version: 2.9.4 +Version: 2.9.5 Release: 0 Summary: Assistive Technology Service Provider Interface - D-Bus based implementation License: GPL-2.0+ ++++++ at-spi2-core-2.9.4.tar.xz -> at-spi2-core-2.9.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-spi2-core-2.9.4/NEWS new/at-spi2-core-2.9.5/NEWS --- old/at-spi2-core-2.9.4/NEWS 2013-07-08 22:56:18.000000000 +0200 +++ new/at-spi2-core-2.9.5/NEWS 2013-07-29 23:40:11.000000000 +0200 @@ -1,3 +1,13 @@ +What's new in at-spi2-core 2.9.5: + +* Fix possible memory leak when D-Bus calls time out. + +* Fix a memory leak in atspi_accessible_get_role_name that was introduced + earlier in the 2.9 cycle with the enum refactor. + +* A couple of functions not intended for introspection are now marked + as skip. + What's new in at-spi2-core 2.9.4: * Add atspi_set_main_context (mainly for use by at-spi2-atk). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-spi2-core-2.9.4/atspi/atspi-device-listener.c new/at-spi2-core-2.9.5/atspi/atspi-device-listener.c --- old/at-spi2-core-2.9.4/atspi/atspi-device-listener.c 2013-05-11 01:09:44.000000000 +0200 +++ new/at-spi2-core-2.9.5/atspi/atspi-device-listener.c 2013-07-15 20:15:31.000000000 +0200 @@ -230,7 +230,7 @@ } /** - * atspi_device_listener_new_simple: + * atspi_device_listener_new_simple: (skip) * @callback: (scope notified): an #AtspiDeviceListenerCB callback function, * or NULL. * @callback_destroyed: A #GDestroyNotify called when the listener is freed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-spi2-core-2.9.4/atspi/atspi-event-listener.c new/at-spi2-core-2.9.5/atspi/atspi-event-listener.c --- old/at-spi2-core-2.9.4/atspi/atspi-event-listener.c 2013-05-14 23:43:39.000000000 +0200 +++ new/at-spi2-core-2.9.5/atspi/atspi-event-listener.c 2013-07-15 20:14:58.000000000 +0200 @@ -141,7 +141,7 @@ } /** - * atspi_event_listener_new_simple: + * atspi_event_listener_new_simple: (skip) * @callback: (scope notified): An #AtspiEventListenerSimpleCB to be called * when an event is fired. * @callback_destroyed: A #GDestroyNotify called when the listener is freed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-spi2-core-2.9.4/atspi/atspi-misc.c new/at-spi2-core-2.9.5/atspi/atspi-misc.c --- old/at-spi2-core-2.9.4/atspi/atspi-misc.c 2013-07-03 21:37:04.000000000 +0200 +++ new/at-spi2-core-2.9.5/atspi/atspi-misc.c 2013-07-10 20:47:49.000000000 +0200 @@ -1706,7 +1706,7 @@ } if (retval) - return _atspi_name_compat (g_strdup (retval)); + return _atspi_name_compat (retval); return NULL; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-spi2-core-2.9.4/configure new/at-spi2-core-2.9.5/configure --- old/at-spi2-core-2.9.4/configure 2013-07-08 22:56:41.000000000 +0200 +++ new/at-spi2-core-2.9.5/configure 2013-07-30 00:35:34.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for at-spi2-core 2.9.4. +# Generated by GNU Autoconf 2.69 for at-spi2-core 2.9.5. # # Report bugs to <accessibility-at...@lists.linux-foundation.org>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='at-spi2-core' PACKAGE_TARNAME='at-spi2-core' -PACKAGE_VERSION='2.9.4' -PACKAGE_STRING='at-spi2-core 2.9.4' +PACKAGE_VERSION='2.9.5' +PACKAGE_STRING='at-spi2-core 2.9.5' PACKAGE_BUGREPORT='accessibility-at...@lists.linux-foundation.org' PACKAGE_URL='' @@ -1434,7 +1434,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures at-spi2-core 2.9.4 to adapt to many kinds of systems. +\`configure' configures at-spi2-core 2.9.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1508,7 +1508,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of at-spi2-core 2.9.4:";; + short | recursive ) echo "Configuration of at-spi2-core 2.9.5:";; esac cat <<\_ACEOF @@ -1644,7 +1644,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -at-spi2-core configure 2.9.4 +at-spi2-core configure 2.9.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2013,7 +2013,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by at-spi2-core $as_me 2.9.4, which was +It was created by at-spi2-core $as_me 2.9.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2857,7 +2857,7 @@ # Define the identity of the package. PACKAGE='at-spi2-core' - VERSION='2.9.4' + VERSION='2.9.5' cat >>confdefs.h <<_ACEOF @@ -15154,7 +15154,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by at-spi2-core $as_me 2.9.4, which was +This file was extended by at-spi2-core $as_me 2.9.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15220,7 +15220,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -at-spi2-core config.status 2.9.4 +at-spi2-core config.status 2.9.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-spi2-core-2.9.4/configure.ac new/at-spi2-core-2.9.5/configure.ac --- old/at-spi2-core-2.9.4/configure.ac 2013-07-01 21:25:36.000000000 +0200 +++ new/at-spi2-core-2.9.5/configure.ac 2013-07-30 00:35:26.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([at-spi2-core], [2.9.4], [accessibility-at...@lists.linux-foundation.org]) +AC_INIT([at-spi2-core], [2.9.5], [accessibility-at...@lists.linux-foundation.org]) AC_PREREQ([2.59]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR([m4]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-spi2-core-2.9.4/dbind/dbind.c new/at-spi2-core-2.9.5/dbind/dbind.c --- old/at-spi2-core-2.9.4/dbind/dbind.c 2013-06-15 22:27:50.000000000 +0200 +++ new/at-spi2-core-2.9.5/dbind/dbind.c 2013-07-10 22:06:37.000000000 +0200 @@ -76,10 +76,12 @@ closure = g_new0 (SpiReentrantCallClosure, 1); closure->reply = NULL; atspi_dbus_connection_setup_with_g_main(bus, NULL); - if (!dbus_connection_send_with_reply (bus, message, &pending, dbind_timeout)) + if (!dbus_connection_send_with_reply (bus, message, &pending, dbind_timeout) + || !pending) + { + g_free (closure); return NULL; - if (!pending) - return NULL; + } dbus_pending_call_set_notify (pending, set_reply, (void *) closure, g_free); closure->reply = NULL; @@ -89,11 +91,15 @@ { if (!dbus_connection_read_write_dispatch (bus, dbind_timeout)) { + //dbus_pending_call_set_notify (pending, NULL, NULL, NULL); + dbus_pending_call_cancel (pending); dbus_pending_call_unref (pending); return NULL; } if (time_elapsed (&tv) > dbind_timeout) { + //dbus_pending_call_set_notify (pending, NULL, NULL, NULL); + dbus_pending_call_cancel (pending); dbus_pending_call_unref (pending); dbus_set_error_const (error, "org.freedesktop.DBus.Error.NoReply", "timeout from dbind"); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org