Michael Stefaniuc : wrc: Fix redundant checks for NULL before free(). Found by Smatch.