X-Git-Url: http://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=libustconsumer%2Flibustconsumer.c;h=8eb4424be81099d4113fe00a8d780b1e2f5edfce;hp=ef54fe807352bf5be8242b8bf0e205fe1aaa26c4;hb=7ecca90ddd823c78c6c26f927426e08dc512c92a;hpb=42d054a01531e7635da0eadc35204a7451cd01bc diff --git a/libustconsumer/libustconsumer.c b/libustconsumer/libustconsumer.c index ef54fe8..8eb4424 100644 --- a/libustconsumer/libustconsumer.c +++ b/libustconsumer/libustconsumer.c @@ -426,6 +426,11 @@ static void destroy_buffer(struct ustconsumer_callbacks *callbacks, { int result; + result = close(buf->pipe_fd); + if(result == -1) { + WARN("problem closing the pipe fd"); + } + result = close(buf->app_sock); if(result == -1) { WARN("problem calling ustcomm_close_app");