summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2017-09-08 14:49:17 +0900
committerINSUN PYO <insun.pyo@samsung.com>2017-09-08 05:50:54 +0000
commit6959425889f5203a8d91c294ba8d27c269bae140 (patch)
tree3aa634bcf958dbd19439cad6bdcd6961c8afb296
parent925ddab7ce6b19d6fdadf19e6e358cad09403e88 (diff)
downloaddevice-manager-plugin-odroid-6959425889f5203a8d91c294ba8d27c269bae140.tar.gz
device-manager-plugin-odroid-6959425889f5203a8d91c294ba8d27c269bae140.tar.bz2
device-manager-plugin-odroid-6959425889f5203a8d91c294ba8d27c269bae140.zip
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I050b5a8d1543304c878f424c305959af86b65923
-rw-r--r--hw/usb_client/usb_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb_client/usb_client.c b/hw/usb_client/usb_client.c
index 455e741..232381b 100644
--- a/hw/usb_client/usb_client.c
+++ b/hw/usb_client/usb_client.c
@@ -565,7 +565,7 @@ static void legacy_free_gadget(struct usb_gadget *gadget)
if (!gadget)
return;
- if (gadget->strs) {
+ if (gadget->strs) {
for (i = 0; gadget->strs[i].lang_code; ++i) {
free(gadget->strs[i].manufacturer);
free(gadget->strs[i].product);