diff options
author | wm4 <wm4@nowhere> | 2018-03-09 11:27:46 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-03-15 00:00:04 -0700 |
commit | 03791fae163591951b2b8208fe6b0b6c95d8ae77 (patch) | |
tree | 59d671ffdbe345d0ffce209abadc797e6d968ef9 /input/ipc-unix.c | |
parent | 4d9c6ab6b9b9c5436f5ee52f56aee304da4b20b1 (diff) | |
download | mpv-03791fae163591951b2b8208fe6b0b6c95d8ae77.tar.bz2 mpv-03791fae163591951b2b8208fe6b0b6c95d8ae77.tar.xz |
all: replace mpv_detach_destroy() with mpv_destroy()
Diffstat (limited to 'input/ipc-unix.c')
-rw-r--r-- | input/ipc-unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/input/ipc-unix.c b/input/ipc-unix.c index 3b01d477f1..778f2f1e46 100644 --- a/input/ipc-unix.c +++ b/input/ipc-unix.c @@ -209,7 +209,7 @@ done: talloc_free(client_msg.start); if (arg->close_client_fd) close(arg->client_fd); - mpv_detach_destroy(arg->client); + mpv_destroy(arg->client); talloc_free(arg); return NULL; } @@ -230,7 +230,7 @@ static void ipc_start_client(struct mp_ipc_ctx *ctx, struct client_arg *client) err: if (client->client) - mpv_detach_destroy(client->client); + mpv_destroy(client->client); if (client->close_client_fd) close(client->client_fd); |