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
fa8656f8
Commit
fa8656f8
authored
Nov 13, 2006
by
Jesse Allen
Committed by
Alexandre Julliard
Nov 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Free correct buffer in pf_vsnprintf.
parent
f3c6114d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wcs.c
dlls/msvcrt/wcs.c
+2
-2
No files found.
dlls/msvcrt/wcs.c
View file @
fa8656f8
...
@@ -667,7 +667,7 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format, va_list valist )
...
@@ -667,7 +667,7 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format, va_list valist )
r
=
pf_output_format_A
(
out
,
x
,
-
1
,
&
flags
);
r
=
pf_output_format_A
(
out
,
x
,
-
1
,
&
flags
);
if
(
x
!=
number
)
if
(
x
!=
number
)
HeapFree
(
GetProcessHeap
(),
0
,
number
);
HeapFree
(
GetProcessHeap
(),
0
,
x
);
}
}
/* deal with integers and floats using libc's printf */
/* deal with integers and floats using libc's printf */
...
@@ -687,7 +687,7 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format, va_list valist )
...
@@ -687,7 +687,7 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format, va_list valist )
r
=
pf_output_stringA
(
out
,
x
,
-
1
);
r
=
pf_output_stringA
(
out
,
x
,
-
1
);
if
(
x
!=
number
)
if
(
x
!=
number
)
HeapFree
(
GetProcessHeap
(),
0
,
number
);
HeapFree
(
GetProcessHeap
(),
0
,
x
);
}
}
else
else
continue
;
continue
;
...
...
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