mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 17:14:23 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue