add 0022-fix-thumbnail-potential-memory-leak.patch
This commit is contained in:
parent
626f12ac83
commit
c3e05f581a
26
0022-fix-thumbnail-potential-memory-leak.patch
Normal file
26
0022-fix-thumbnail-potential-memory-leak.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff -Naur ukui-menu-3.1.1/README.md ukui-menu-3.1.1~/README.md
|
||||
--- ukui-menu-3.1.1/README.md 2024-05-06 19:01:27.493963726 +0800
|
||||
+++ ukui-menu-3.1.1~/README.md 2024-05-06 19:01:38.378291867 +0800
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
Translation files
|
||||
|
||||
-
|
||||
# How to report bugs
|
||||
Bugs should be reported to the UKUI bug tracking system:
|
||||
|
||||
diff -Naur ukui-menu-3.1.1/src/UtilityFunction/thumbnail.cpp ukui-menu-3.1.1~/src/UtilityFunction/thumbnail.cpp
|
||||
--- ukui-menu-3.1.1/src/UtilityFunction/thumbnail.cpp 2024-05-06 18:33:23.362633503 +0800
|
||||
+++ ukui-menu-3.1.1~/src/UtilityFunction/thumbnail.cpp 2024-05-06 19:03:20.750776813 +0800
|
||||
@@ -76,9 +76,11 @@
|
||||
setting = nullptr;
|
||||
disableSetting = nullptr;
|
||||
iconLabel = nullptr;
|
||||
+ m_icon = nullptr;
|
||||
|
||||
if (layout) {
|
||||
delete layout;
|
||||
+ layout = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: ukui-menu
|
||||
Version: 3.1.1
|
||||
Release: 12
|
||||
Release: 13
|
||||
Summary: Advanced ukui menu
|
||||
License: GPL-3.0-or-later
|
||||
URL: http://www.ukui.org
|
||||
@ -33,7 +33,7 @@ Patch25: 0001-fix-uninstall-failed-issue.patch
|
||||
%if 0%{?kylin}
|
||||
Patch26: disable-Suspend-and-Sleep-of-ukui-menu.patch
|
||||
%endif
|
||||
|
||||
Patch27: 0022-fix-thumbnail-potential-memory-leak.patch
|
||||
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: libqtxdg-devel
|
||||
@ -86,6 +86,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/ukui-menu/translations/
|
||||
|
||||
%changelog
|
||||
* Tue May 07 2024 douyan <douyan@kylinos.cn> - 3.1.1-13
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC: add 0022-fix-thumbnail-potential-memory-leak.patch
|
||||
|
||||
* Wed Jun 14 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.1-12
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user