It's set as property by the application, we should not just reset
properties when going back to READY.
g_free (src->proxy_pw);
g_strfreev (src->cookies);
+ if (src->extra_headers) {
+ gst_structure_free (src->extra_headers);
+ src->extra_headers = NULL;
+ }
+
G_OBJECT_CLASS (parent_class)->finalize (gobject);
}
else
gst_soup_http_src_session_close (src);
- if (src->extra_headers) {
- gst_structure_free (src->extra_headers);
- src->extra_headers = NULL;
- }
-
gst_soup_http_src_reset (src);
return TRUE;
}