mirror of
https://github.com/reactos/reactos.git
synced 2026-07-02 23:24:21 +08:00
Removed memory leaks
Fixed bug in console driver (wasn't completing irp) svn path=/trunk/; revision=194
This commit is contained in:
@@ -75,6 +75,7 @@ void ExecuteDir(char* cmdline)
|
||||
debug_printf("%s\n",FindData.cFileName);
|
||||
} while(FindNextFile(shandle,&FindData));
|
||||
debug_printf("\n %d files\n %d directories\n\n",nFile,nRep);
|
||||
FindClose(shandle);
|
||||
}
|
||||
|
||||
void ExecuteType(char* cmdline)
|
||||
@@ -99,6 +100,7 @@ void ExecuteType(char* cmdline)
|
||||
debug_printf("%c",c);
|
||||
c = 0;
|
||||
}
|
||||
CloseHandle(FileHandle);
|
||||
}
|
||||
|
||||
int ExecuteProcess(char* name, char* cmdline)
|
||||
|
||||
Reference in New Issue
Block a user