mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fixed panic when executing non-existent file.
This commit is contained in:
parent
d96d790de7
commit
06909c6df9
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ namespace Sortix
|
|||
~SysExecVEState()
|
||||
{
|
||||
delete[] filename;
|
||||
dev->Unref();
|
||||
if ( dev ) { dev->Unref(); }
|
||||
delete[] buffer;
|
||||
for ( int i = 0; i < argc; i++ ) { delete[] argv[i]; }
|
||||
delete[] argv;
|
||||
|
|
Loading…
Add table
Reference in a new issue