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:
parent
9d31ef0b1a
commit
5404212e9d
@ -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);
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user