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
9b00fce4
Commit
9b00fce4
authored
Oct 17, 2005
by
Christian Costa
Committed by
Alexandre Julliard
Oct 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix installable driver removal.
parent
5a8d7674
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
msvideo_main.c
dlls/msvideo/msvideo_main.c
+6
-4
No files found.
dlls/msvideo/msvideo_main.c
View file @
9b00fce4
...
...
@@ -259,7 +259,7 @@ BOOL VFWAPI ICInstall(DWORD fccType, DWORD fccHandler, LPARAM lParam, LPSTR szDe
reg_driver_list
=
driver
;
return
TRUE
;
oom:
oom:
HeapFree
(
GetProcessHeap
(),
0
,
driver
);
return
FALSE
;
}
...
...
@@ -270,7 +270,8 @@ BOOL VFWAPI ICInstall(DWORD fccType, DWORD fccHandler, LPARAM lParam, LPSTR szDe
BOOL
VFWAPI
ICRemove
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wFlags
)
{
reg_driver
**
pdriver
;
reg_driver
*
drv
;
TRACE
(
"(%s,%s,0x%08x)
\n
"
,
wine_dbgstr_fcc
(
fccType
),
wine_dbgstr_fcc
(
fccHandler
),
wFlags
);
/* Check if a driver is already registered */
...
...
@@ -284,9 +285,10 @@ BOOL VFWAPI ICRemove(DWORD fccType, DWORD fccHandler, UINT wFlags)
return
FALSE
;
/* Remove the driver from the list */
drv
=
*
pdriver
;
*
pdriver
=
(
*
pdriver
)
->
next
;
HeapFree
(
GetProcessHeap
(),
0
,
(
*
pdriver
)
->
name
);
HeapFree
(
GetProcessHeap
(),
0
,
*
pdriver
);
HeapFree
(
GetProcessHeap
(),
0
,
drv
->
name
);
HeapFree
(
GetProcessHeap
(),
0
,
drv
);
return
TRUE
;
}
...
...
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