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
f75e4bf0
Commit
f75e4bf0
authored
Jun 10, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Free memory after use.
parent
5bc7b784
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
port.c
dlls/ntdll/tests/port.c
+6
-0
No files found.
dlls/ntdll/tests/port.c
View file @
f75e4bf0
...
@@ -225,6 +225,9 @@ static DWORD WINAPI test_ports_client(LPVOID arg)
...
@@ -225,6 +225,9 @@ static DWORD WINAPI test_ports_client(LPVOID arg)
ok
(
!
lstrcmp
((
LPSTR
)
out
->
Data
,
REPLY
),
"Expected %s, got %s
\n
"
,
REPLY
,
out
->
Data
);
ok
(
!
lstrcmp
((
LPSTR
)
out
->
Data
,
REPLY
),
"Expected %s, got %s
\n
"
,
REPLY
,
out
->
Data
);
ok
(
out
->
MessageType
==
LPC_REPLY
,
"Expected LPC_REPLY, got %d
\n
"
,
out
->
MessageType
);
ok
(
out
->
MessageType
==
LPC_REPLY
,
"Expected LPC_REPLY, got %d
\n
"
,
out
->
MessageType
);
HeapFree
(
GetProcessHeap
(),
0
,
out
);
HeapFree
(
GetProcessHeap
(),
0
,
LpcMessage
);
return
0
;
return
0
;
}
}
...
@@ -290,6 +293,7 @@ static void test_ports_server(void)
...
@@ -290,6 +293,7 @@ static void test_ports_server(void)
case
LPC_CLIENT_DIED
:
case
LPC_CLIENT_DIED
:
ok
(
done
,
"Expected LPC request to be completed!
\n
"
);
ok
(
done
,
"Expected LPC request to be completed!
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
LpcMessage
);
return
;
return
;
default:
default:
...
@@ -297,6 +301,8 @@ static void test_ports_server(void)
...
@@ -297,6 +301,8 @@ static void test_ports_server(void)
break
;
break
;
}
}
}
}
HeapFree
(
GetProcessHeap
(),
0
,
LpcMessage
);
}
}
START_TEST
(
port
)
START_TEST
(
port
)
...
...
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