Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
59131a4c
Commit
59131a4c
authored
May 13, 2014
by
Anuj Jaiswal
Committed by
Sebastian Dröge
May 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audio_sink and video_sink leakage fixed
https://bugzilla.gnome.org/show_bug.cgi?id=730010
parent
1ca576c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
tools/gst-play.c
tools/gst-play.c
+11
-0
No files found.
tools/gst-play.c
View file @
59131a4c
...
...
@@ -709,6 +709,10 @@ main (int argc, char **argv)
g_print
(
"%s
\n
"
,
version_str
);
g_print
(
"%s
\n
"
,
GST_PACKAGE_ORIGIN
);
g_free
(
version_str
);
g_free
(
audio_sink
);
g_free
(
video_sink
);
return
0
;
}
...
...
@@ -745,6 +749,10 @@ main (int argc, char **argv)
_
(
"You must provide at least one filename or URI to play."
));
/* No input provided. Free array */
g_ptr_array_free
(
playlist
,
TRUE
);
g_free
(
audio_sink
);
g_free
(
video_sink
);
return
1
;
}
...
...
@@ -783,6 +791,9 @@ main (int argc, char **argv)
/* clean up */
play_free
(
play
);
g_free
(
audio_sink
);
g_free
(
video_sink
);
g_print
(
"
\n
"
);
return
0
;
}
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