diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2008-05-02 11:32:31 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2008-05-02 11:32:31 +0000 |
commit | 39eb91d6f4ccbc16062b2dfdd6082e0622e4e37e (patch) | |
tree | 0241e1daf37b8715596aa3d184e43229b2e10852 /ext | |
parent | 4f13f56ef96e7d98f458810c223fe30070d21e1b (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')
-rw-r--r-- | ext/soup/gstsouphttpsrc.c | 5 |
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: |