Fix build warning 35/148535/1 accepted/tizen/unified/20170911.060230 submit/tizen/20170908.055554
authorINSUN PYO <insun.pyo@samsung.com>
Fri, 8 Sep 2017 05:49:17 +0000 (14:49 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Fri, 8 Sep 2017 05:50:54 +0000 (05:50 +0000)
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I050b5a8d1543304c878f424c305959af86b65923

hw/usb_client/usb_client.c

index 455e741..232381b 100644 (file)
@@ -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);