aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-02-26 11:50:57 +0800
committermarcel <marcel@FreeBSD.org>2004-02-26 11:50:57 +0800
commit95c8026fc6b3c43f2a500533373c867d4efcfb2e (patch)
tree54ac44537482e6e3fad731773a65ac58cb6ccb78
parentfc2658a2db509102a057faf690fab77955d29c88 (diff)
downloadfreebsd-ports-gnome-95c8026fc6b3c43f2a500533373c867d4efcfb2e.tar.gz
freebsd-ports-gnome-95c8026fc6b3c43f2a500533373c867d4efcfb2e.tar.zst
freebsd-ports-gnome-95c8026fc6b3c43f2a500533373c867d4efcfb2e.zip
Fix the bus error on close by clearing the playlist prior to cleaning
up the plugins. PR: ports/56512 Submitted by: Mario Freitas <sub_0@netcabo.pt> Pointed out by: Joseph Scott <joseph@randomnetworks.com>
-rw-r--r--audio/x11amp/files/patch-x11amp::main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/x11amp/files/patch-x11amp::main.c b/audio/x11amp/files/patch-x11amp::main.c
new file mode 100644
index 000000000000..beaa279456fa
--- /dev/null
+++ b/audio/x11amp/files/patch-x11amp::main.c
@@ -0,0 +1,12 @@
+--- x11amp/main.c.orig Wed Feb 25 19:38:20 2004
++++ x11amp/main.c Wed Feb 25 19:38:52 2004
+@@ -812,8 +812,8 @@
+ cleanup_ctrlsocket();
+ cleanup_skins();
+ playlist_stop_get_info_thread();
+- cleanup_plugins();
+ playlist_clear();
++ cleanup_plugins();
+ gtk_main_quit();
+ }
+