This patch fixes some instances where a mallocated variable is checked for NULL before freeing it, but the pointer has already been dereferenced previously so the check is unnecessary.
Although it is good to remove unwanted checks, until allocation related check are managed correctly, it is better to leave it as is.
Log in to post a comment.
Although it is good to remove unwanted checks, until allocation related check are managed correctly, it is better to leave it as is.