diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-07-11 19:34:16 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-07-11 19:34:16 +0000 |
commit | a432fcd30617610b46d65f49b7513bf5da5694de (patch) | |
tree | b76ab1cefbd5a0020fa789b2c925f31ef9d5796b /key-bindings.c | |
parent | 06d27e94b25a49f7a9824e8bfdf6fb04f6baf46e (diff) | |
download | rtmux-a432fcd30617610b46d65f49b7513bf5da5694de.tar.gz rtmux-a432fcd30617610b46d65f49b7513bf5da5694de.tar.bz2 rtmux-a432fcd30617610b46d65f49b7513bf5da5694de.zip |
Sync OpenBSD patchset 1150:
xfree is not particularly helpful, remove it. From Thomas Adam.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/key-bindings.c b/key-bindings.c index 24f98c60..a6ed32ba 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -90,7 +90,7 @@ key_bindings_clean(void) bd = RB_ROOT(&dead_key_bindings); RB_REMOVE(key_bindings, &dead_key_bindings, bd); cmd_list_free(bd->cmdlist); - xfree(bd); + free(bd); } } @@ -216,7 +216,7 @@ key_bindings_error(struct cmd_ctx *ctx, const char *fmt, ...) *msg = toupper((u_char) *msg); status_message_set(ctx->curclient, "%s", msg); - xfree(msg); + free(msg); } void printflike2 @@ -258,7 +258,7 @@ key_bindings_info(struct cmd_ctx *ctx, const char *fmt, ...) *msg = toupper((u_char) *msg); status_message_set(ctx->curclient, "%s", msg); - xfree(msg); + free(msg); } void |