修改分辨率相关control文件,free
This commit is contained in:
parent
2d8ea02d7b
commit
3661015ad7
|
@ -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: 系统信息获取库 - 开发库
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue