Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
19933fe7
Commit
19933fe7
authored
Aug 01, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix potential memleak.
parent
ab1e2b52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
modules/audio_output/oss.c
modules/audio_output/oss.c
+1
-0
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+3
-0
No files found.
modules/audio_output/oss.c
View file @
19933fe7
...
@@ -299,6 +299,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -299,6 +299,7 @@ static int Open( vlc_object_t *p_this )
if
(
p_sys
->
i_fd
<
0
)
if
(
p_sys
->
i_fd
<
0
)
{
{
msg_Err
(
p_aout
,
"cannot open audio device (%s)"
,
psz_device
);
msg_Err
(
p_aout
,
"cannot open audio device (%s)"
,
psz_device
);
free
(
psz_device
);
free
(
p_sys
);
free
(
p_sys
);
return
VLC_EGENERIC
;
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 )
...
@@ -279,7 +279,10 @@ void ExtVideo::ChangeVFiltersString( char *psz_name, bool b_add )
psz_parser
=
psz_string
;
psz_parser
=
psz_string
;
if
(
asprintf
(
&
psz_string
,
(
*
psz_string
)
?
"%s:%s"
:
"%s%s"
,
if
(
asprintf
(
&
psz_string
,
(
*
psz_string
)
?
"%s:%s"
:
"%s%s"
,
psz_string
,
psz_name
)
==
-
1
)
psz_string
,
psz_name
)
==
-
1
)
{
free
(
psz_parser
);
return
;
return
;
}
free
(
psz_parser
);
free
(
psz_parser
);
}
}
else
else
...
...
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