Merge branch 'double-free' of https://github.com/Luflosi/kitty into master
This commit is contained in:
commit
1409477ed7
1 changed files with 2 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue