parent
41dc53ba3d
commit
dca075e9cb
|
@ -453,14 +453,11 @@ _mpdule_connect (Instance * inst)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_mpdule_disconnect (Instance * inst)
|
_mpdule_disconnect(Instance *inst)
|
||||||
{
|
{
|
||||||
mpd_Connection *mpd;
|
|
||||||
|
|
||||||
if (inst->mpd)
|
if (inst->mpd)
|
||||||
{
|
{
|
||||||
mpd = inst->mpd;
|
mpd_closeConnection(inst->mpd);
|
||||||
mpd_closeConnection (mpd);
|
|
||||||
inst->mpd = NULL;
|
inst->mpd = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue