https://github.com/xmms2/xmms2-devel/pull/5 From: Sergei Trofimovich Date: Thu, 6 Dec 2018 07:19:08 +0000 Subject: [PATCH] OTHER: fix c++ client dangling reference --- a/src/include/xmmsclient/xmmsclient++/mainloop.h +++ b/src/include/xmmsclient/xmmsclient++/mainloop.h @@ -42,5 +42,5 @@ * mainloop, not start it! */ - MainloopInterface( xmmsc_connection_t* conn ) : + MainloopInterface( xmmsc_connection_t*& conn ) : running_( false ), conn_( conn ) { }