Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
436
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
795e043c
Commit
795e043c
authored
20 years ago
by
gbazin
Browse files
Options
Downloads
Patches
Plain Diff
* modules/codec/dmo/dmo.c: fixed a couple of memleaks.
parent
519f20ec
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/codec/dmo/dmo.c
+3
-1
3 additions, 1 deletion
modules/codec/dmo/dmo.c
with
3 additions
and
1 deletion
modules/codec/dmo/dmo.c
+
3
−
1
View file @
795e043c
...
...
@@ -62,7 +62,7 @@ FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
int
WINAPI
FreeLibrary
(
HMODULE
);
#endif
/* LOADER */
typedef
long
STDCALL
(
*
GETCLASS
)
(
const
GUID
*
,
const
GUID
*
,
void
**
);
typedef
long
(
STDCALL
*
GETCLASS
)
(
const
GUID
*
,
const
GUID
*
,
void
**
);
static
int
pi_channels_maps
[
7
]
=
{
...
...
@@ -697,6 +697,7 @@ void DecoderClose( vlc_object_t *p_this )
if
(
!
p_sys
)
return
;
if
(
p_sys
->
p_dmo
)
p_sys
->
p_dmo
->
vt
->
Release
(
(
IUnknown
*
)
p_sys
->
p_dmo
);
FreeLibrary
(
p_sys
->
hmsdmo_dll
);
#ifdef LOADER
...
...
@@ -1542,6 +1543,7 @@ void EncoderClose( vlc_object_t *p_this )
if
(
!
p_sys
)
return
;
if
(
p_sys
->
p_dmo
)
p_sys
->
p_dmo
->
vt
->
Release
(
(
IUnknown
*
)
p_sys
->
p_dmo
);
FreeLibrary
(
p_sys
->
hmsdmo_dll
);
#ifdef LOADER
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment