summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-03-02 03:31:42 +0100
committerGravatar Nikias Bassen2014-03-02 03:31:42 +0100
commitc7c54f3623fa6928c5f14e544938547b1dccbeed (patch)
treea5546bdba24f9400d20f160b7d21461f59d82162 /src
parent1aae5ee9b71f75322a8afa3099fdc9f339a009a7 (diff)
downloadlibusbmuxd-c7c54f3623fa6928c5f14e544938547b1dccbeed.tar.gz
libusbmuxd-c7c54f3623fa6928c5f14e544938547b1dccbeed.tar.bz2
remove invalid free
Diffstat (limited to 'src')
-rw-r--r--src/libusbmuxd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c
index 8d2bc19..7ef58ea 100644
--- a/src/libusbmuxd.c
+++ b/src/libusbmuxd.c
@@ -831,7 +831,6 @@ retry:
usbmuxd_device_info_t *devinfo = device_info_from_device_record(dev);
if (!devinfo) {
DEBUG(1, "%s: can't create device info object\n", __func__);
- free(payload);
return -1;
}
collection_add(&tmpdevs, devinfo);