From: Ralf Habacker Date: Sat, 4 Dec 2021 12:54:47 +0000 (+0100) Subject: _dbus_decrement_fail_alloc_counter(): Enable out of memory testing on Windows X-Git-Tag: dbus-1.13.20~17^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9dc2a74aa22eda7d03237cbb8c905a8a6a89325;p=thirdparty%2Fdbus.git _dbus_decrement_fail_alloc_counter(): Enable out of memory testing on Windows --- diff --git a/dbus/dbus-memory.c b/dbus/dbus-memory.c index 96df2357f..cee74462f 100644 --- a/dbus/dbus-memory.c +++ b/dbus/dbus-memory.c @@ -255,18 +255,6 @@ dbus_bool_t _dbus_decrement_fail_alloc_counter (void) { _dbus_initialize_malloc_debug (); -#ifdef DBUS_WIN - { - static dbus_bool_t called = 0; - - if (!called) - { - _dbus_verbose_raw ("TODO: memory allocation testing errors disabled for now\n"); - called = 1; - } - return FALSE; - } -#endif if (fail_alloc_counter <= 0) {