Merge branch 'double-free' of https://github.com/Luflosi/kitty into master

This commit is contained in:
Kovid Goyal 2020-10-15 19:11:31 +05:30
commit 1409477ed7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -245,10 +245,8 @@ empty:
error:
Py_XDECREF(py_ret);
if (procargs != NULL)
free(procargs);
if (procenv != NULL)
free(procargs);
free(procargs);
free(procenv);
return NULL;
}