diff options
author | Aaron Burghardt | 2015-07-31 12:28:20 -0400 |
---|---|---|
committer | Aaron Burghardt | 2015-07-31 12:41:56 -0400 |
commit | 90a38cc24794d2807c7e0a3d11f2eaaea76b8ebd (patch) | |
tree | 2e3cdb6e2595f23c2b84b6ba978275d8d340014a | |
parent | 423fb8c0e9750190d2b7f9c306df9efaa7080dbd (diff) | |
download | usbmuxd-90a38cc24794d2807c7e0a3d11f2eaaea76b8ebd.tar.gz usbmuxd-90a38cc24794d2807c7e0a3d11f2eaaea76b8ebd.tar.bz2 |
send_system_buid: fix leak of buid string returned by config_get_system_buid.
-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 4ec4025..e4154d2 100644 --- a/src/client.c +++ b/src/client.c @@ -373,6 +373,7 @@ static int send_system_buid(struct mux_client *client, uint32_t tag) plist_t dict = plist_new_dict(); plist_dict_set_item(dict, "BUID", plist_new_string(buid)); + free(buid); res = send_plist_pkt(client, tag, dict); plist_free(dict); return res; |