From e8c21b2a19e505d0599de065a6ee50027d5ac5b2 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Thu, 26 Feb 2004 03:50:57 +0000 Subject: [PATCH] Fix the bus error on close by clearing the playlist prior to cleaning up the plugins. PR: ports/56512 Submitted by: Mario Freitas Pointed out by: Joseph Scott --- audio/x11amp/files/patch-x11amp::main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 audio/x11amp/files/patch-x11amp::main.c 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(); + } +