patch 7.4.1747
Problem:    Coverity: missing check for NULL pointer.
Solution:   Check for out of memory.
diff --git a/src/if_py_both.h b/src/if_py_both.h
index c6a8c44..de3e868 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -2922,6 +2922,13 @@
 	    if (argc != 0)
 	    {
 		argv = PyMem_New(typval_T, (size_t) argc);
+		if (argv == NULL)
+		{
+		    PyErr_NoMemory();
+		    dict_unref(selfdict);
+		    list_unref(argslist);
+		    return NULL;
+		}
 		curtv = argv;
 		for (li = argslist->lv_first; li != NULL; li = li->li_next)
 		    copy_tv(&li->li_tv, curtv++);