Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
37d5d89b
Commit
37d5d89b
authored
Jan 23, 2013
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbinfo: extra check
parent
46922a50
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
examples/dvbinfo/dvbinfo.c
examples/dvbinfo/dvbinfo.c
+6
-0
No files found.
examples/dvbinfo/dvbinfo.c
View file @
37d5d89b
...
...
@@ -442,6 +442,11 @@ int main(int argc, char **pp_argv)
usage
();
param
=
params_init
();
if
(
param
==
NULL
)
{
printf
(
"dvbinfo: out of memory
\n
"
);
exit
(
EXIT_FAILURE
);
}
capture
.
params
=
param
;
capture
.
fifo
=
fifo_new
();
capture
.
empty
=
fifo_new
();
...
...
@@ -706,6 +711,7 @@ int main(int argc, char **pp_argv)
closelog
();
#endif
params_free
(
param
);
param
=
NULL
;
if
(
err
<
0
)
exit
(
EXIT_FAILURE
);
...
...
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