Diff between 818adf28e51877f32befab1a7faca314f89aa199 and 5a872af406ca2d432e79d978f23a85771c7ce6ea

Changed Files

File Additions Deletions Status
client/player.c +3 -0 modified

Full Patch

diff --git a/client/player.c b/client/player.c
index 4324089..51c10f8 100644
--- a/client/player.c
+++ b/client/player.c
@@ -1745,6 +1745,9 @@ static DBusMessage *endpoint_select_properties_reply(struct endpoint *ep,
 	DBusMessageIter iter;
 	struct endpoint_config *cfg;
 
+	if (!preset)
+		return NULL;
+
 	reply = dbus_message_new_method_return(msg);
 	if (!reply)
 		return NULL;