Fix prevent issue
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 15 Dec 2014 05:14:00 +0000 (14:14 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 15 Dec 2014 05:14:00 +0000 (14:14 +0900)
[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Idd7ea1b57a7dc6498d41fdf6462395fa2bb07ece

dynamicbox/src/dynamicbox.c

index 9afde2b..3bb52af 100644 (file)
@@ -469,6 +469,7 @@ PUBLIC int dynamicbox_desc_set_size(struct dynamicbox_desc *handle, const char *
     snprintf(buffer, sizeof(buffer), "%dx%d", w, h);
     block->data = strdup(buffer);
     if (!block->data) {
+       free(block->id);
        free(block->part);
        free(block->type);
        free(block);