[PATCH] commands: of_display_timings: prevent memory leak
Sascha Hauer
s.hauer at pengutronix.de
Mon Mar 17 01:38:22 PDT 2025
On Fri, 14 Mar 2025 23:30:07 +0100, Jules Maselbas wrote:
> memory could be leaked if the S option is passed several time.
> Also replace the xzalloc + strcpy call with a call to xstrdup.
>
>
Applied, thanks!
[1/1] commands: of_display_timings: prevent memory leak
https://git.pengutronix.de/cgit/barebox/commit/?id=5b43643625b2 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list