Loading...
--- libmalloc/libmalloc-116.30.3/src/stack_logging_disk.c
+++ libmalloc/libmalloc-116.50.8/src/stack_logging_disk.c
@@ -2200,7 +2200,9 @@
} else {
// remote_fds[i].in_use_count is 0 so don't decrement it!
fclose(remote_fds[i].index_file_stream);
+ remote_fds[i].index_file_stream = NULL;
destroy_cache_for_file_streams(&remote_fds[i]);
+ remote_fds[i].remote_task = 0;
}
break;
}