Re: [PATCH 8/8] test: dm: devres: Remove use-after-free

Simon Glass
2022-04-11T18:41:56Z

On Sun, 3 Apr 2022 at 04:39, Andrew Scull <ascull@google.com> wrote:
>
> Use-after-free shouldn't be used, even in tests. It's bad practice and
> makes the test brittle.
>
> Signed-off-by: Andrew Scull <ascull@google.com>
> Cc: Simon Glass <sjg@chromium.org>
> ---
> test/dm/devres.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>