diff --git a/kernel/watch_queue.c b/kernel/watch_queue.c index a662abccf52cde404e8539c618842c7be9f23cb4..249ed32591449d88b59e5eea1cc321514429717c 100644 --- a/kernel/watch_queue.c +++ b/kernel/watch_queue.c @@ -373,6 +373,7 @@ static void __put_watch_queue(struct kref *kref) for (i = 0; i < wqueue->nr_pages; i++) __free_page(wqueue->notes[i]); + kfree(wqueue->notes); bitmap_free(wqueue->notes_bitmap); wfilter = rcu_access_pointer(wqueue->filter);