issue 445
| 173 | |
| 174 | // issue 445 |
| 175 | static void strdup_test() { |
| 176 | #ifdef _MSC_VER |
| 177 | char* s = _strdup("hello\n"); |
| 178 | char* buf = NULL; |
| 179 | size_t len; |
| 180 | _dupenv_s(&buf, &len, "MIMALLOC_VERBOSE"); |
| 181 | mi_free(buf); |
| 182 | mi_free(s); |
| 183 | #endif |
| 184 | } |
| 185 | |
| 186 | // Issue #202 |
| 187 | static void heap_no_delete_worker() { |