projects
/
apps
/
native
/
widget
/
widget.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix prevent issue
[apps/native/widget/widget.git]
/
dynamicbox
/
src
/
dynamicbox.c
diff --git
a/dynamicbox/src/dynamicbox.c
b/dynamicbox/src/dynamicbox.c
index
9afde2b
..
3bb52af
100644
(file)
--- a/
dynamicbox/src/dynamicbox.c
+++ b/
dynamicbox/src/dynamicbox.c
@@
-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);