version 1.11, 2011/01/26 01:54:56 |
version 1.12, 2012/07/10 11:53:01 |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/wait.h> |
#include <sys/wait.h> |
|
|
|
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
|
|
#include "tmux.h" |
#include "tmux.h" |
|
|
ctx->print(ctx, "%s", line); |
ctx->print(ctx, "%s", line); |
lines++; |
lines++; |
|
|
xfree(line); |
free(line); |
} |
} |
|
|
cmd = cdata->cmd; |
cmd = cdata->cmd; |
|
|
ctx->print(ctx, "%s", msg); |
ctx->print(ctx, "%s", msg); |
else |
else |
ctx->info(ctx, "%s", msg); |
ctx->info(ctx, "%s", msg); |
xfree(msg); |
free(msg); |
} |
} |
} |
} |
|
|
|
|
if (ctx->curclient != NULL) |
if (ctx->curclient != NULL) |
ctx->curclient->references--; |
ctx->curclient->references--; |
|
|
xfree(cdata->cmd); |
free(cdata->cmd); |
xfree(cdata); |
free(cdata); |
} |
} |