levy5307 commented on code in PR #12257: URL: https://github.com/apache/doris/pull/12257#discussion_r960355235
########## be/src/runtime/free_pool.hpp: ########## @@ -128,9 +128,14 @@ class FreePool { #ifndef NDEBUG check_valid_allocation(list); #endif - // Add node to front of list. - node->next = list->next; - list->next = node; + if (nullptr == list) { Review Comment: > Why is `list` nullptr? Maybe it was released somewhere -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org