summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorin Apostol <florin.apostol@oregan.net>2016-01-14 18:27:50 +0000
committerTim-Philipp Müller <tim@centricular.com>2016-01-18 13:09:45 +0000
commit38d7434bab8405d958a9a511bbbad578f0ffd62b (patch)
tree17348c46774c9633fc3e044f174a5fae4f01cffd /tests
parenteba01f84e53329dd14508cb72891c7a8e85888e0 (diff)
tests: adaptive-stremaing: fix memory leak in test_http_src
https://bugzilla.gnome.org/show_bug.cgi?id=760600
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/test_http_src.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/check/elements/test_http_src.c b/tests/check/elements/test_http_src.c
index 88b0c4f21..915bb5100 100644
--- a/tests/check/elements/test_http_src.c
+++ b/tests/check/elements/test_http_src.c
@@ -247,6 +247,10 @@ gst_test_http_src_reset_input (GstTestHTTPSrc * src)
gst_structure_free (src->extra_headers);
src->extra_headers = NULL;
}
+ g_free (src->http_method_name);
+ src->http_method_name = NULL;
+ g_free (src->user_agent);
+ src->user_agent = NULL;
src->duration_changed = FALSE;
}