修改分辨率相关control文件,free

This commit is contained in:
shaozhimin 2022-10-13 10:48:08 +08:00
parent 2d8ea02d7b
commit 3661015ad7
2 changed files with 8 additions and 1 deletions

4
debian/control vendored
View File

@ -118,6 +118,7 @@ Depends: ${shlibs:Depends},
libglib2.0-0,
systemd,
libcjson1,
libxrandr2,
libkysdk-systemcommon
Multi-Arch: same
Description: 系统信息获取库
@ -134,7 +135,8 @@ Depends: ${shlibs:Depends},
libcjson-dev,
libdbus-1-dev,
libdbus-glib-1-dev,
libglib2.0-dev
libglib2.0-dev,
libxrandr-dev
Multi-Arch: same
Description: 系统信息获取库 - 开发库

View File

@ -939,6 +939,11 @@ char** kdk_system_get_resolving_power()
XRRFreeOutputInfo (info);
}
XRRFreeScreenResources(screen);
free(name);
free(tmp);
free(temp);
free(mode);
free(ret);
res[count] = NULL;
return res;
}