summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 361ff65)
raw | patch | inline | side by side (parent: 361ff65)
author | Felix <felix.von.s@posteo.de> | |
Tue, 28 Mar 2017 18:34:46 +0000 (20:34 +0200) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Tue, 28 Mar 2017 18:34:46 +0000 (20:34 +0200) |
NEWS | patch | blob | history | |
src/plugin.c | patch | blob | history |
index ac9cd9f6d6a8844af005f36334b1ccfea919b575..e913f5ae3d3ccc683a25b009c7b5b08e80a0cfdf 100644 (file)
--- a/NEWS
+++ b/NEWS
ncmpc 0.28 - not yet released
+* fix crash on lyrics screen
ncmpc 0.27 - (2017-03-25)
* work around connect failure if /var/run/mpd/socket does not exist
diff --git a/src/plugin.c b/src/plugin.c
index dcca7b817d4a345a3d181a6ec5dfca74a83023a6..f9049ecfa77458285c07da66f4946f542a1b4959 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
p->data = g_string_new(NULL);
GIOChannel *channel = g_io_channel_unix_new(fd);
p->event_id = g_io_add_watch(channel, G_IO_IN|G_IO_HUP,
- plugin_data, cycle);
+ plugin_data, p);
g_io_channel_unref(channel);
}