tests: adaptive-stremaing: fix memory leak in test_http_src
https://bugzilla.gnome.org/show_bug.cgi?id=760600
This commit is contained in:
parent
eba01f84e5
commit
38d7434bab
@ -247,6 +247,10 @@ gst_test_http_src_reset_input (GstTestHTTPSrc * src)
|
|||||||
gst_structure_free (src->extra_headers);
|
gst_structure_free (src->extra_headers);
|
||||||
src->extra_headers = NULL;
|
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;
|
src->duration_changed = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user