https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127154

--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> ---
(In reply to Andrew Macleod from comment #1)
> Created attachment 65461 [details]
> potenteial patch
> 
> Does this resolve the situation? In theory it shouldn't have been a problem
> to start, but this sequence should avoid any potential issue...

Thank you for the patch. I can confirm the patch resolves the valgrind warning.

Reply via email to