2 * @brief Repeatedly allocate and free memory. Tests whether drd really frees
3 * memory allocated by a client. See also
4 * http://bugs.kde.org/show_bug.cgi?id=161036.
15 for (i = 0; i < 100000; i++)
18 for (i = 0; i < 100000; i++)
20 p = realloc(NULL, 40960);
21 p = realloc(p, 50000);
22 p = realloc(p, 40000);
25 * glibc returns a NULL pointer when the size argument passed to realloc()
26 * is zero, while Darwin's C library returns a non-NULL pointer. Both are
29 #if defined(VGO_darwin)