SHA256
1
0
forked from pool/systemd

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
This commit is contained in:
Stephan Kulow 2013-05-15 14:09:16 +00:00 committed by Git OBS Bridge
parent 582bc954b5
commit 92e5406b7b
3 changed files with 13 additions and 1 deletions

View File

@ -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);

View File

@ -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

View File

@ -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