Skip to content

Conversation

dkoes
Copy link
Contributor

@dkoes dkoes commented Apr 8, 2020

Generally speaking, it is better to check if a pointer is NULL before
dereferencing it rather than after.

dkoes added 3 commits April 7, 2020 14:08
Generally speaking, it is better to check if a pointer is NULL _before_
dereferencing it rather than after.
Which results in uglier code imho.
what is the emoticon for rolling your eyes?
@ghutchis ghutchis merged commit 05154ca into openbabel:master Apr 8, 2020
@dkoes dkoes deleted the segfaultfix branch April 8, 2020 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants