Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
19933fe7
Commit
19933fe7
authored
Aug 01, 2008
by
ivoire
Browse files
Fix potential memleak.
parent
ab1e2b52
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/audio_output/oss.c
View file @
19933fe7
...
...
@@ -299,6 +299,7 @@ static int Open( vlc_object_t *p_this )
if
(
p_sys
->
i_fd
<
0
)
{
msg_Err
(
p_aout
,
"cannot open audio device (%s)"
,
psz_device
);
free
(
psz_device
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
...
...
modules/gui/qt4/components/extended_panels.cpp
View file @
19933fe7
...
...
@@ -279,7 +279,10 @@ void ExtVideo::ChangeVFiltersString( char *psz_name, bool b_add )
psz_parser
=
psz_string
;
if
(
asprintf
(
&
psz_string
,
(
*
psz_string
)
?
"%s:%s"
:
"%s%s"
,
psz_string
,
psz_name
)
==
-
1
)
{
free
(
psz_parser
);
return
;
}
free
(
psz_parser
);
}
else
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment