mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 07:40:09 +08:00
WatchList is a set of array objects, initialized with "new[]", so it should be freed with "delete[]" to free all of its elements. Otherwise using only "delete" only frees the first variable but not its array. This would lead to an undefined behaviour.