Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
3e35df72
Commit
3e35df72
authored
Dec 19, 2010
by
Sebastian Dröge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp: Fix memory leaks in the gst_rtsp_url_decode_path_components() unit tests
parent
c23c706d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
tests/check/libs/rtsp.c
tests/check/libs/rtsp.c
+3
-0
No files found.
tests/check/libs/rtsp.c
View file @
3e35df72
...
...
@@ -68,6 +68,7 @@ GST_START_TEST (test_rtsp_url_components_1)
fail_unless
(
!
strcmp
(
comps
[
1
],
"foo"
));
fail_unless
(
!
strcmp
(
comps
[
2
],
"bar"
));
g_strfreev
(
comps
);
gst_rtsp_url_free
(
url
);
}
...
...
@@ -90,6 +91,7 @@ GST_START_TEST (test_rtsp_url_components_2)
fail_unless
(
!
strcmp
(
comps
[
1
],
"foo/bar"
));
fail_unless
(
!
strcmp
(
comps
[
2
],
"qux baz"
));
g_strfreev
(
comps
);
gst_rtsp_url_free
(
url
);
}
...
...
@@ -112,6 +114,7 @@ GST_START_TEST (test_rtsp_url_components_3)
fail_unless
(
!
strcmp
(
comps
[
1
],
"foo%00bar"
));
fail_unless
(
!
strcmp
(
comps
[
2
],
"qux baz"
));
g_strfreev
(
comps
);
gst_rtsp_url_free
(
url
);
}
...
...
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