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
fed6738b
Commit
fed6738b
authored
Feb 16, 2010
by
Dan Kegel
Committed by
Alexandre Julliard
Feb 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix leak in test_symlinks.
parent
3f310113
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
registry.c
dlls/advapi32/tests/registry.c
+3
-0
No files found.
dlls/advapi32/tests/registry.c
View file @
fed6738b
...
...
@@ -39,6 +39,7 @@ static DWORD (WINAPI *pRegGetValueA)(HKEY,LPCSTR,LPCSTR,DWORD,LPDWORD,PVOID,LPDW
static
DWORD
(
WINAPI
*
pRegDeleteTreeA
)(
HKEY
,
LPCSTR
);
static
NTSTATUS
(
WINAPI
*
pNtDeleteKey
)(
HANDLE
);
static
NTSTATUS
(
WINAPI
*
pRtlFormatCurrentUserKeyPath
)(
UNICODE_STRING
*
);
static
NTSTATUS
(
WINAPI
*
pRtlFreeUnicodeString
)(
PUNICODE_STRING
);
/* Debugging functions from wine/libs/wine/debug.c */
...
...
@@ -125,6 +126,7 @@ static void InitFunctionPtrs(void)
ADVAPI32_GET_PROC
(
RegDeleteTreeA
);
pRtlFormatCurrentUserKeyPath
=
(
void
*
)
GetProcAddress
(
hntdll
,
"RtlFormatCurrentUserKeyPath"
);
pRtlFreeUnicodeString
=
(
void
*
)
GetProcAddress
(
hntdll
,
"RtlFreeUnicodeString"
);
pNtDeleteKey
=
(
void
*
)
GetProcAddress
(
hntdll
,
"NtDeleteKey"
);
}
...
...
@@ -1633,6 +1635,7 @@ static void test_symlinks(void)
RegCloseKey
(
link
);
HeapFree
(
GetProcessHeap
(),
0
,
target
);
pRtlFreeUnicodeString
(
&
target_str
);
}
START_TEST
(
registry
)
...
...
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