mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Merge branch 'double-free' of https://github.com/Luflosi/kitty into master
This commit is contained in:
@@ -245,10 +245,8 @@ empty:
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
Py_XDECREF(py_ret);
|
Py_XDECREF(py_ret);
|
||||||
if (procargs != NULL)
|
free(procargs);
|
||||||
free(procargs);
|
free(procenv);
|
||||||
if (procenv != NULL)
|
|
||||||
free(procargs);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user