Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about pointers that are allocated but not deallocated #249

Open
Beliavsky opened this issue Dec 20, 2024 · 0 comments
Open

Warn about pointers that are allocated but not deallocated #249

Beliavsky opened this issue Dec 20, 2024 · 0 comments
Labels
rule A new rule for the linter

Comments

@Beliavsky
Copy link

I suggest that Fortitude warn about code such as

module m
implicit none
contains
subroutine foo()
integer, pointer :: p(:)
allocate (p(2))
end subroutine foo
end module m
@ZedThree ZedThree added the rule A new rule for the linter label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule A new rule for the linter
Projects
None yet
Development

No branches or pull requests

2 participants