Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8c4a4dff
Commit
8c4a4dff
authored
Feb 20, 2004
by
Ferenc Wagner
Committed by
Alexandre Julliard
Feb 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a free() call at the end.
parent
455a2239
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
main.c
programs/winetest/main.c
+5
-4
No files found.
programs/winetest/main.c
View file @
8c4a4dff
...
...
@@ -258,8 +258,8 @@ EnumTestFileProc (HMODULE hModule, LPCTSTR lpszType,
return
TRUE
;
}
static
const
char
*
run_tests
(
c
onst
c
har
*
logname
,
const
char
*
tag
)
char
*
run_tests
(
char
*
logname
,
const
char
*
tag
)
{
int
nr_of_files
=
0
,
nr_of_tests
=
0
,
i
;
char
*
tempdir
;
...
...
@@ -357,9 +357,9 @@ Usage: winetest [OPTION]...\n\n\
int
WINAPI
WinMain
(
HINSTANCE
hInst
,
HINSTANCE
hPrevInst
,
LPSTR
cmdLine
,
int
cmdShow
)
{
c
onst
c
har
*
logname
=
NULL
;
char
*
logname
=
NULL
;
char
*
tag
=
NULL
,
*
cp
;
char
*
submit
=
NULL
;
c
onst
c
har
*
submit
=
NULL
;
cmdLine
=
strtok
(
cmdLine
,
" "
);
while
(
cmdLine
)
{
...
...
@@ -417,6 +417,7 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
report
(
R_FATAL
,
"Can't submit logfile '%s'"
,
logname
);
if
(
remove
(
logname
))
report
(
R_WARNING
,
"Can't remove logfile: %d."
,
errno
);
free
(
logname
);
report
(
R_STATUS
,
"Finished"
);
}
exit
(
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment