fix: 修复初次被systemd拉起时内存泄露的问题

XCBUtils类中使用到XCB接口,其中reply类型部分接口返回值需要手动释放

Log:
Task: https://pms.uniontech.com/task-view-145329.html
Influence: 不会出现内存泄露的问题
Change-Id: Idf8f37d1144c9e5b87161c64f3b18695fbcef0d9
This commit is contained in:
weizhixiang
2022-06-07 20:21:25 +08:00
parent 58e15c84bf
commit 1ba800d8a3
3 changed files with 79 additions and 40 deletions

View File

@ -9,7 +9,8 @@ macro(install_symlink filepath wantsdir)
endmacro(install_symlink)
# 安装service文件到用户service目录
#install(FILES ${SERVICE_FILES} DESTINATION lib/systemd/user/)
install(FILES ${SERVICE_FILES} DESTINATION lib/systemd/user/)
#install_symlink(dde-application-manager.service dde-session-daemon.target.wants)
# 创建软链接
install_symlink(dde-application-manager.service dde-session-daemon.target.wants)