From 39eb91d6f4ccbc16062b2dfdd6082e0622e4e37e Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 2 May 2008 11:32:31 +0000 Subject: 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. --- ext/soup/gstsouphttpsrc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/soup') diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index eb83647d..4d31fce4 100644 --- a/ext/soup/gstsouphttpsrc.c +++ b/ext/soup/gstsouphttpsrc.c @@ -89,6 +89,9 @@ #endif #include +#ifdef HAVE_STDLIB_H +#include /* atoi() */ +#endif #include #include #include @@ -437,7 +440,7 @@ gst_soup_http_src_get_property (GObject * object, guint prop_id, char *proxy = soup_uri_to_string (src->proxy, FALSE); g_value_set_string (value, proxy); - free (proxy); + g_free (proxy); } break; case PROP_COOKIES: -- cgit