]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
_dbus_decrement_fail_alloc_counter(): Enable out of memory testing on Windows
authorRalf Habacker <ralf.habacker@freenet.de>
Sat, 4 Dec 2021 12:54:47 +0000 (13:54 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 6 Dec 2021 10:09:20 +0000 (10:09 +0000)
dbus/dbus-memory.c

index 96df2357faa59ff0766ea1cf4d782bb422246501..cee74462f491ab8e41455e9f4b688b1c2a1f32bb 100644 (file)
@@ -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)
     {