
$FreeBSD: ports/audio/xmms-flac/files/patch-src_plugin__xmms_plugin.c,v 1.1 2005/03/16 14:49:23 naddy Exp $

--- src/plugin_xmms/plugin.c.orig
+++ src/plugin_xmms/plugin.c
@@ -259,6 +259,12 @@
 
 	/* stream */
 
+	/* XXX allow indiscriminate use of g_free() */
+	flac_cfg.stream.proxy_host = g_strdup("");
+	flac_cfg.stream.proxy_user = g_strdup("");
+	flac_cfg.stream.proxy_pass = g_strdup("");
+	flac_cfg.stream.save_http_path = g_strdup("");
+
 	xmms_cfg_read_int(cfg, "flac", "stream.http_buffer_size", &flac_cfg.stream.http_buffer_size);
 	xmms_cfg_read_int(cfg, "flac", "stream.http_prebuffer", &flac_cfg.stream.http_prebuffer);
 	xmms_cfg_read_boolean(cfg, "flac", "stream.use_proxy", &flac_cfg.stream.use_proxy);
