tests: adaptive-stremaing: fix memory leak in test_http_src

https://bugzilla.gnome.org/show_bug.cgi?id=760600
This commit is contained in:
Florin Apostol 2016-01-14 18:27:50 +00:00 committed by Tim-Philipp Müller
parent eba01f84e5
commit 38d7434bab

View file

@ -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;
}