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
2d05c24a
Commit
2d05c24a
authored
Mar 14, 2013
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Free wszPatternString (Coverity).
parent
5d0ae3d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
filesource.c
dlls/quartz/filesource.c
+6
-3
No files found.
dlls/quartz/filesource.c
View file @
2d05c24a
...
@@ -335,12 +335,15 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID *
...
@@ -335,12 +335,15 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID *
break
;
break
;
}
}
if
(
strcmpW
(
wszValueName
,
source_filter_name
)
==
0
)
if
(
strcmpW
(
wszValueName
,
source_filter_name
)
==
0
)
{
HeapFree
(
GetProcessHeap
(),
0
,
wszPatternString
);
continue
;
continue
;
}
/* if it is not the source filter value */
/* if it is not the source filter value */
if
(
process_pattern_string
(
wszPatternString
,
pReader
)
==
S_OK
)
if
(
process_pattern_string
(
wszPatternString
,
pReader
)
==
S_OK
)
{
{
HeapFree
(
GetProcessHeap
(),
0
,
wszPatternString
);
if
(
majorType
&&
FAILED
(
CLSIDFromString
(
wszMajorKeyName
,
majorType
)))
if
(
majorType
&&
FAILED
(
CLSIDFromString
(
wszMajorKeyName
,
majorType
)))
break
;
break
;
if
(
minorType
&&
FAILED
(
CLSIDFromString
(
wszMinorKeyName
,
minorType
)))
if
(
minorType
&&
FAILED
(
CLSIDFromString
(
wszMinorKeyName
,
minorType
)))
...
@@ -354,8 +357,8 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID *
...
@@ -354,8 +357,8 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID *
break
;
break
;
}
}
bFound
=
TRUE
;
bFound
=
TRUE
;
}
}
else
HeapFree
(
GetProcessHeap
(),
0
,
wszPatternString
);
HeapFree
(
GetProcessHeap
(),
0
,
wszPatternString
);
}
}
CloseHandle
(
hkeyMinor
);
CloseHandle
(
hkeyMinor
);
}
}
...
...
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