X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fum_usb_uevent_handler.c;h=2c56b54b890241ce9d7d3174d72c07f221a8dcdd;hb=bb98a11ff2704b94c2a4d2fb39d3e4ec2fc4160b;hp=7d30234784cd816b613826b6cc32fca5e0b2bab2;hpb=2aba9fb3ea843bc0dd4d10999157267221f26ed5;p=apps%2Fcore%2Fpreloaded%2Fusb-manager.git diff --git a/src/um_usb_uevent_handler.c b/src/um_usb_uevent_handler.c index 7d30234..2c56b54 100644 --- a/src/um_usb_uevent_handler.c +++ b/src/um_usb_uevent_handler.c @@ -229,6 +229,7 @@ static int um_uevent_control_subsystem_misc(UmMainData *ad, struct udev_list_ent ret = um_event_control_get_value_by_name(list_entry, UDEV_ENTRY_NAME_ACCESSORY, &accessory); if (ret < 0 || !accessory) { USB_LOG("FAIL: um_event_control_get_value_by_name()"); + FREE(action); FREE(accessory); return -1; }