mercurial/cext/manifest.c
branchstable
changeset 38301 d9e87566f879
parent 36619 1f8c3fadbb8e
child 38302 6caca2a7d37f
--- a/mercurial/cext/manifest.c	Sun May 20 23:05:18 2018 -0400
+++ b/mercurial/cext/manifest.c	Wed Jun 13 10:37:39 2018 -0400
@@ -190,10 +190,8 @@
 			free(self->lines[i].start);
 		}
 	}
-	if (self->lines) {
-		free(self->lines);
-		self->lines = NULL;
-	}
+	free(self->lines);
+	self->lines = NULL;
 	if (self->pydata) {
 		Py_DECREF(self->pydata);
 		self->pydata = NULL;