mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 05:22:30 +00:00
ext/soup/gstsouphttpsrc.c: Include stdlib to fix the build. Use g_free instead of free, libsoup uses glib.
Original commit message from CVS: * ext/soup/gstsouphttpsrc.c: Include stdlib to fix the build. Use g_free instead of free, libsoup uses glib.
This commit is contained in:
parent
4f13f56ef9
commit
39eb91d6f4
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-05-02 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* ext/soup/gstsouphttpsrc.c:
|
||||||
|
Include stdlib to fix the build. Use g_free instead of free, libsoup
|
||||||
|
uses glib.
|
||||||
|
|
||||||
2008-05-02 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-05-02 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
Patch by: j^ <j@bootlab.org>
|
Patch by: j^ <j@bootlab.org>
|
||||||
|
|
|
@ -89,6 +89,9 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#ifdef HAVE_STDLIB_H
|
||||||
|
#include <stdlib.h> /* atoi() */
|
||||||
|
#endif
|
||||||
#include <gst/gstelement.h>
|
#include <gst/gstelement.h>
|
||||||
#include <gst/gst-i18n-plugin.h>
|
#include <gst/gst-i18n-plugin.h>
|
||||||
#include <libsoup/soup.h>
|
#include <libsoup/soup.h>
|
||||||
|
@ -437,7 +440,7 @@ gst_soup_http_src_get_property (GObject * object, guint prop_id,
|
||||||
char *proxy = soup_uri_to_string (src->proxy, FALSE);
|
char *proxy = soup_uri_to_string (src->proxy, FALSE);
|
||||||
|
|
||||||
g_value_set_string (value, proxy);
|
g_value_set_string (value, proxy);
|
||||||
free (proxy);
|
g_free (proxy);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PROP_COOKIES:
|
case PROP_COOKIES:
|
||||||
|
|
Loading…
Reference in a new issue