Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d622ffcb
Commit
d622ffcb
authored
Mar 01, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fixed closing of FindFirstFile handle in build_expanded_argv.
parent
743a42b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
data.c
dlls/msvcrt/data.c
+2
-2
No files found.
dlls/msvcrt/data.c
View file @
d622ffcb
...
@@ -431,7 +431,7 @@ static int build_expanded_argv(int *argc, char **argv)
...
@@ -431,7 +431,7 @@ static int build_expanded_argv(int *argc, char **argv)
args_no
++
;
args_no
++
;
size
+=
len
+
path_len
;
size
+=
len
+
path_len
;
}
while
(
FindNextFileA
(
h
,
&
data
));
}
while
(
FindNextFileA
(
h
,
&
data
));
CloseHandl
e
(
h
);
FindClos
e
(
h
);
}
}
if
(
!
len
)
{
if
(
!
len
)
{
...
@@ -528,7 +528,7 @@ static int build_expanded_wargv(int *argc, MSVCRT_wchar_t **argv)
...
@@ -528,7 +528,7 @@ static int build_expanded_wargv(int *argc, MSVCRT_wchar_t **argv)
args_no
++
;
args_no
++
;
size
+=
len
+
path_len
;
size
+=
len
+
path_len
;
}
while
(
FindNextFileW
(
h
,
&
data
));
}
while
(
FindNextFileW
(
h
,
&
data
));
CloseHandl
e
(
h
);
FindClos
e
(
h
);
}
}
if
(
!
len
)
{
if
(
!
len
)
{
...
...
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