[PATCH] Fortran: fix two minor front-end GMP memleaks

Harald Anlauf anlauf@gmx.de
Sun Dec 8 21:38:53 GMT 2024


Dear all,

while looking at testcases with inquiry refs, I encountered two minor
GMP memleaks due to double-initialization of GMP variables.  Easily
plugged by the attached patch.

Regtested on x86_64-pc-linux-gnu.

I intend to commit as obvious within 24h unless there are objections.

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-fix-two-minor-front-end-GMP-memleaks.patch
Type: text/x-patch
Size: 1089 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20241208/c445b1e3/attachment.bin>


More information about the Fortran mailing list