镜像自地址
https://github.com/FeralInteractive/gamemode.git
已同步 2025-07-16 11:11:45 +02:00
lib: release acquired bus reference
On each gamemode_request call a new connection to d-bus is opened but the reference was never release thus leaking the connection and associated memory.
这个提交包含在:
@ -92,6 +92,7 @@ static int gamemode_request(const char *function, int arg)
|
||||
strerror(-ret));
|
||||
}
|
||||
}
|
||||
sd_bus_unref(bus);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
在新工单中引用
屏蔽一个用户