Blob Blame History Raw
diff -Nur audacious-plugins-2.2-tmp-vuln/src/streambrowser/streambrowser.c audacious-plugins-2.2-streambrowser-url-add/src/streambrowser/streambrowser.c
--- audacious-plugins-2.2-tmp-vuln/src/streambrowser/streambrowser.c	2010-02-06 19:35:33.000000000 +0100
+++ audacious-plugins-2.2-streambrowser-url-add/src/streambrowser/streambrowser.c	2010-02-06 20:16:05.000000000 +0100
@@ -629,7 +629,7 @@
 	}
 
 	if (strlen(streaminfo->url) > 0) {
-		aud_playlist_insert_playlist(aud_playlist_get_active(), entrycount, streaminfo->url);
+		aud_playlist_entry_insert(aud_playlist_get_active(), entrycount, g_strdup(streaminfo->url), NULL);
 		debug("stream '%s' added\n", streaminfo->url);
 	}