diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2021-12-04 13:54:47 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2021-12-06 10:09:20 +0000 |
commit | d9dc2a74aa22eda7d03237cbb8c905a8a6a89325 (patch) | |
tree | 0a94765c07e1bc523070877b77d16543630364af /dbus/dbus-memory.c | |
parent | 4e4d932fd9edf9b3e781a7bf88257eeca459fe13 (diff) | |
download | dbus-d9dc2a74aa22eda7d03237cbb8c905a8a6a89325.tar.gz |
_dbus_decrement_fail_alloc_counter(): Enable out of memory testing on Windows
Diffstat (limited to 'dbus/dbus-memory.c')
-rw-r--r-- | dbus/dbus-memory.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/dbus/dbus-memory.c b/dbus/dbus-memory.c index 96df2357..cee74462 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) { |