Cleanup patch from Denis Vlasenko.  Mostly variants of removing the if(x)
from before "if(x) free(x)".
diff --git a/editors/sed.c b/editors/sed.c
index b08eae4..f58f442 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -556,10 +556,8 @@
 	}
 
 	/* If we glued multiple lines together, free the memory. */
-	if(add_cmd_line) {
-		free(add_cmd_line);
-		add_cmd_line=NULL;
-	}
+	free(add_cmd_line);
+	add_cmd_line=NULL;
 }
 
 /* Append to a string, reallocating memory as necessary. */