fix: memory leak found in rename_device.c

Resolves: RHEL-28191
This commit is contained in:
Jan Macku 2024-03-06 14:26:53 +01:00
parent 657eb78655
commit de896432e8
3 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -54,3 +54,4 @@
/initscripts-10.11.4.tar.gz
/initscripts-10.11.5.tar.gz
/initscripts-10.11.6.tar.gz
/initscripts-10.11.7.tar.gz

View File

@ -18,7 +18,7 @@ Requires: gawk \
Name: initscripts
Summary: Basic support for legacy System V init scripts
Version: 10.11.6
Version: 10.11.7
Release: 1%{?dist}
License: GPLv2
@ -397,6 +397,10 @@ fi
# =============================================================================
%changelog
* Wed Mar 06 2024 Jan Macku <jamacku@redhat.com> - 10.11.7-1
- rename_device: free path after it is used
- rename_device: remove trailing whitespaces
* Thu Feb 08 2024 Jan Macku <jamacku@redhat.com> - 10.11.6-1
- Add -r to while read as per shellcheck
- Fix splitting spaces in paths from statetab files

View File

@ -1 +1 @@
SHA512 (initscripts-10.11.6.tar.gz) = 59d625a64c4486a047287db7a32b1fae637abd3219dbeeaae188e3aa0a4e42b634514353ac4cccce8689dbd1067257d9f93ed8731c651d8bc8556908a4fe345b
SHA512 (initscripts-10.11.7.tar.gz) = 941eb72bf3fd54d8a400e99e27ac02a79bcd2bcf4322fc660bf3866c668cfa2bca9d0634405700763a644adcff7602824db139776b8112b1fda0f83975a75969