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
2b54a7ee
Commit
2b54a7ee
authored
Nov 14, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmloader: Remove an unused critical section.
parent
76b64d9a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
dmloader_private.h
dlls/dmloader/dmloader_private.h
+0
-2
loader.c
dlls/dmloader/loader.c
+0
-6
No files found.
dlls/dmloader/dmloader_private.h
View file @
2b54a7ee
...
...
@@ -99,8 +99,6 @@ struct IDirectMusicLoaderImpl {
struct
list
*
pObjects
;
/* settings for certain object classes */
struct
list
*
pClassSettings
;
/* critical section */
CRITICAL_SECTION
CritSect
;
};
/* contained object entry */
...
...
dlls/dmloader/loader.c
View file @
2b54a7ee
...
...
@@ -100,9 +100,6 @@ static ULONG WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_Release (LPDIRECTM
/* firstly, release the cache */
IDirectMusicLoader8_ClearCache
(
iface
,
&
GUID_DirectMusicAllTypes
);
/* FIXME: release all allocated entries */
/* destroy critical section */
/*This->CritSect.DebugInfo->Spare[0] = 0;
DeleteCriticalSection (&This->CritSect); */
HeapFree
(
GetProcessHeap
(),
0
,
This
);
unlock_module
();
}
...
...
@@ -864,10 +861,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicLoaderImpl (LPCGUID lpcGUID, LPVOID *ppob
}
obj
->
LoaderVtbl
=
&
DirectMusicLoader_Loader_Vtbl
;
obj
->
dwRef
=
0
;
/* will be inited with QueryInterface */
/* init critical section */
/* init cache/alias list */
/*InitializeCriticalSection (&obj->CritSect);
obj->CritSect.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IDirectMusicLoaderImpl.CritSect"); */
obj
->
pObjects
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
struct
list
));
list_init
(
obj
->
pObjects
);
/* init settings */
...
...
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