summaryrefslogtreecommitdiffstats
path: root/ext/soup
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-05-02 11:32:31 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-05-02 11:32:31 +0000
commit39eb91d6f4ccbc16062b2dfdd6082e0622e4e37e (patch)
tree0241e1daf37b8715596aa3d184e43229b2e10852 /ext/soup
parent4f13f56ef96e7d98f458810c223fe30070d21e1b (diff)
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.
Diffstat (limited to 'ext/soup')
-rw-r--r--ext/soup/gstsouphttpsrc.c5
1 files changed, 4 insertions, 1 deletions
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 <string.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h> /* atoi() */
+#endif
#include <gst/gstelement.h>
#include <gst/gst-i18n-plugin.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);
g_value_set_string (value, proxy);
- free (proxy);
+ g_free (proxy);
}
break;
case PROP_COOKIES: