patch 7.4.1597
Problem:    Memory leak when out of memory. (Coverity)
Solution:   Free the name.
diff --git a/src/eval.c b/src/eval.c
index 5fc4bd4..a2288f9 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -11904,7 +11904,9 @@
 	    partial_T	*pt = (partial_T *)alloc_clear(sizeof(partial_T));
 
 	    /* result is a VAR_PARTIAL */
-	    if (pt != NULL)
+	    if (pt == NULL)
+		vim_free(name);
+	    else
 	    {
 		if (arg_idx > 0 || (arg_pt != NULL && arg_pt->pt_argc > 0))
 		{