diff options
author | Rudolf Tammekivi | 2017-12-28 16:20:19 +0200 |
---|---|---|
committer | Rudolf Tammekivi | 2017-12-28 16:21:22 +0200 |
commit | 7f601f8e5241756c09d08a1319d90f24b9f8b1bc (patch) | |
tree | a315a0fe899f591b23a2f9393bc49245cc46a45d /src | |
parent | 46bdf3ec90acf3916ee8aba622a7da9da5eb8e06 (diff) | |
download | usbmuxd-7f601f8e5241756c09d08a1319d90f24b9f8b1bc.tar.gz usbmuxd-7f601f8e5241756c09d08a1319d90f24b9f8b1bc.tar.bz2 |
client: Plug memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c index e4154d2..a9d09d3 100644 --- a/src/client.c +++ b/src/client.c @@ -617,6 +617,7 @@ static int client_command(struct mux_client *client, struct usbmuxd_header *hdr) } else { rval = EINVAL; } + free(record_data); if (send_result(client, hdr->tag, rval) < 0) return -1; return 0; |