Skip to content

Replace possibly dangerous FreeAndNil(PChar) with assignment to nil

Ondrej Pokorny requested to merge fpc-ondrej/source:pg_nil into main

IMO FreeAndNil cannot be used on a PChar. Probably the reason why the code didn't fail, is that ar[i] was nil anyway.

Merge request reports