diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-31 15:35:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-31 15:35:40 +0200 |
commit | da19d5c19f60ec80e1733b1e994311c59c6eda73 (patch) | |
tree | 1df3b703d728471e1051e23778f857bf4adff23f /src/socket.c | |
parent | ba1a55152c50dfbcd3d4a64353b95f4a2f37985e (diff) |
src: our lord is coverity
Diffstat (limited to 'src/socket.c')
-rw-r--r-- | src/socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket.c b/src/socket.c index 72be0e2235..beb328657f 100644 --- a/src/socket.c +++ b/src/socket.c @@ -1066,6 +1066,7 @@ static void socket_enter_signal(Socket *s, SocketState state, bool success) { wait_for_exit = true; set_free(pid_set); + pid_set = NULL; } } @@ -1695,6 +1696,7 @@ static void socket_timer_event(Unit *u, uint64_t elapsed, Watch *w) { case SOCKET_START_PRE: log_warning("%s starting timed out. Terminating.", u->meta.id); socket_enter_signal(s, SOCKET_FINAL_SIGTERM, false); + break; case SOCKET_START_POST: log_warning("%s starting timed out. Stopping.", u->meta.id); |