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
ec8a57b6
Commit
ec8a57b6
authored
Oct 12, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Removed SysFreeString calls missed in previous patch.
parent
cba98a2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
date.c
dlls/jscript/date.c
+2
-7
No files found.
dlls/jscript/date.c
View file @
ec8a57b6
...
...
@@ -714,18 +714,13 @@ static inline HRESULT create_utc_string(script_ctx_t *ctx, vdisp_t *jsthis, jsva
day
=
date_from_time
(
date
->
time
);
date_str
=
jsstr_alloc_buf
(
len
);
if
(
!
date_str
)
{
SysFreeString
(
week
);
SysFreeString
(
month
);
if
(
!
date_str
)
return
E_OUTOFMEMORY
;
}
sprintfW
(
date_str
->
str
,
formatAD
?
formatADW
:
formatBCW
,
week
,
day
,
month
,
year
,
(
int
)
hour_from_time
(
date
->
time
),
(
int
)
min_from_time
(
date
->
time
),
(
int
)
sec_from_time
(
date
->
time
));
SysFreeString
(
week
);
SysFreeString
(
month
);
*
r
=
jsval_string
(
date_str
);
}
return
S_OK
;
...
...
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