Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
646beb8c
Commit
646beb8c
authored
Mar 05, 2009
by
JP Dinger
Committed by
Rémi Denis-Courmont
Mar 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Immunify libvlc_exception_clear() from NULL arguments.
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
86783662
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/control/core.c
src/control/core.c
+2
-0
No files found.
src/control/core.c
View file @
646beb8c
...
@@ -43,6 +43,8 @@ void libvlc_exception_init( libvlc_exception_t *p_exception )
...
@@ -43,6 +43,8 @@ void libvlc_exception_init( libvlc_exception_t *p_exception )
void
libvlc_exception_clear
(
libvlc_exception_t
*
p_exception
)
void
libvlc_exception_clear
(
libvlc_exception_t
*
p_exception
)
{
{
if
(
NULL
==
p_exception
)
return
;
if
(
p_exception
->
psz_message
!=
nomemstr
)
if
(
p_exception
->
psz_message
!=
nomemstr
)
free
(
p_exception
->
psz_message
);
free
(
p_exception
->
psz_message
);
p_exception
->
psz_message
=
NULL
;
p_exception
->
psz_message
=
NULL
;
...
...
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