diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 05:48:24 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 05:48:24 +0100 |
commit | d137d129e75247575530d8a8310778b70f2c13ea (patch) | |
tree | e1d908de1dc78522c6eab2755b8d30da537f1b55 | |
parent | impelement satd-add (diff) | |
download | sat-d137d129e75247575530d8a8310778b70f2c13ea.tar.gz sat-d137d129e75247575530d8a8310778b70f2c13ea.tar.bz2 sat-d137d129e75247575530d8a8310778b70f2c13ea.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r-- | src/satd-add.c | 1 | ||||
-rw-r--r-- | src/satd-list.c | 1 | ||||
-rw-r--r-- | src/satd-rm.c | 1 | ||||
-rw-r--r-- | src/satd-run.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/satd-add.c b/src/satd-add.c index 0fec460..5a5e004 100644 --- a/src/satd-add.c +++ b/src/satd-add.c @@ -87,6 +87,7 @@ done: /* Cleanup. */ shutdown(SOCK_FILENO, SHUT_WR); close(SOCK_FILENO); + close(STATE_FILENO); free(message); free(job); return rc; diff --git a/src/satd-list.c b/src/satd-list.c index ee11c3a..29175c9 100644 --- a/src/satd-list.c +++ b/src/satd-list.c @@ -267,6 +267,7 @@ done: /* Cleanup. */ shutdown(SOCK_FILENO, SHUT_WR); close(SOCK_FILENO); + close(STATE_FILENO); for (job = jobs; *job; job++) free(*job); free(jobs); diff --git a/src/satd-rm.c b/src/satd-rm.c index 010f795..f245a1f 100644 --- a/src/satd-rm.c +++ b/src/satd-rm.c @@ -58,6 +58,7 @@ done: /* Cleanup. */ shutdown(SOCK_FILENO, SHUT_WR); close(SOCK_FILENO); + close(STATE_FILENO); free(msg_argv); free(message); return rc; diff --git a/src/satd-run.c b/src/satd-run.c index 1af4834..1b92558 100644 --- a/src/satd-run.c +++ b/src/satd-run.c @@ -66,6 +66,7 @@ done: /* Cleanup. */ shutdown(SOCK_FILENO, SHUT_WR); close(SOCK_FILENO); + close(STATE_FILENO); free(msg_argv); free(message); return rc; |