From 92e5406b7b45b61a011af6d9e14cf14e53e37595b1c5c6400fa2a94ecf2b861a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 15 May 2013 14:09:16 +0000 Subject: [PATCH] Accepting request 175744 from home:fcrozat:branches:Base:System - Update handle-SYSTEMCTL_OPTIONS-environment-variable.patch: don't free variable whose content is still be used (bnc#819970). OBS-URL: https://build.opensuse.org/request/show/175744 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=380 --- handle-SYSTEMCTL_OPTIONS-environment-variable.patch | 2 +- systemd-mini.changes | 6 ++++++ systemd.changes | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/handle-SYSTEMCTL_OPTIONS-environment-variable.patch b/handle-SYSTEMCTL_OPTIONS-environment-variable.patch index 1ed955b9..f139b0fb 100644 --- a/handle-SYSTEMCTL_OPTIONS-environment-variable.patch +++ b/handle-SYSTEMCTL_OPTIONS-environment-variable.patch @@ -22,7 +22,7 @@ index 84ce87c..cceafc9 100644 + + if (*parsed_systemctl_options && **parsed_systemctl_options) { + char **k,**a; -+ _cleanup_strv_free_ char **new_argv = new(char*, strv_length(argv) + strv_length(parsed_systemctl_options) + 1); ++ char **new_argv = new(char*, strv_length(argv) + strv_length(parsed_systemctl_options) + 1); + new_argv[0] = strdup(argv[0]); + for (k = new_argv+1, a = parsed_systemctl_options; *a; k++, a++) { + *k = strdup(*a); diff --git a/systemd-mini.changes b/systemd-mini.changes index f7157d80..085a2d34 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 15 13:02:05 UTC 2013 - fcrozat@suse.com + +- Update handle-SYSTEMCTL_OPTIONS-environment-variable.patch: don't + free variable whose content is still be used (bnc#819970). + ------------------------------------------------------------------- Tue May 14 14:22:05 UTC 2013 - fcrozat@suse.com diff --git a/systemd.changes b/systemd.changes index f7157d80..085a2d34 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 15 13:02:05 UTC 2013 - fcrozat@suse.com + +- Update handle-SYSTEMCTL_OPTIONS-environment-variable.patch: don't + free variable whose content is still be used (bnc#819970). + ------------------------------------------------------------------- Tue May 14 14:22:05 UTC 2013 - fcrozat@suse.com