diff options
author | Daniel Mack <github@zonque.org> | 2015-09-10 13:46:14 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-09-10 13:46:14 +0200 |
commit | f33be3119806f96898dda6ade492fbdcdf8f79b8 (patch) | |
tree | 3c470fb770c5a19f848df0487f01af89b0aa6bea /src/libsystemd/sd-bus | |
parent | 89921f6ed085d77225204e160ce2cee99ed0c6fa (diff) | |
parent | 525d3cc746a037e8cc6b2e0ebaaf76a51856fa6b (diff) |
Merge pull request #1226 from poettering/coccinelle-fixes3
Third round of Coccinelle fixes
Diffstat (limited to 'src/libsystemd/sd-bus')
-rw-r--r-- | src/libsystemd/sd-bus/bus-creds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/bus-creds.c b/src/libsystemd/sd-bus/bus-creds.c index 6826e21665..3e8cb0b7d0 100644 --- a/src/libsystemd/sd-bus/bus-creds.c +++ b/src/libsystemd/sd-bus/bus-creds.c @@ -109,8 +109,7 @@ _public_ sd_bus_creds *sd_bus_creds_unref(sd_bus_creds *c) { c->supplementary_gids = mfree(c->supplementary_gids); - strv_free(c->well_known_names); - c->well_known_names = NULL; + c->well_known_names = strv_free(c->well_known_names); bus_creds_done(c); |