Skip to content
Snippets Groups Projects
Commit ab5a4990 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix use-after-free

parent 8ef6de08
No related branches found
No related tags found
No related merge requests found
...@@ -231,6 +231,7 @@ static void rulist_remove(grpc_resource_user *resource_user, grpc_rulist list) { ...@@ -231,6 +231,7 @@ static void rulist_remove(grpc_resource_user *resource_user, grpc_rulist list) {
resource_user->links[list].prev; resource_user->links[list].prev;
resource_user->links[list].prev->links[list].next = resource_user->links[list].prev->links[list].next =
resource_user->links[list].next; resource_user->links[list].next;
resource_user->links[list].next = resource_user->links[list].prev = NULL;
} }
/******************************************************************************* /*******************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment