projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ba3bbf4
)
[elm_cnp_helper.c]bugfix: image copy BS when using item provider
author
deasung.kim
<deasung.kim@samsung.com>
Fri, 17 Jun 2011 07:22:34 +0000
(16:22 +0900)
committer
deasung.kim
<deasung.kim@samsung.com>
Fri, 17 Jun 2011 07:22:34 +0000
(16:22 +0900)
src/lib/elm_cnp_helper.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp_helper.c
b/src/lib/elm_cnp_helper.c
index
b79f112
..
39b6239
100644
(file)
--- a/
src/lib/elm_cnp_helper.c
+++ b/
src/lib/elm_cnp_helper.c
@@
-824,10
+824,10
@@
_set_EFL_item_data(PItemTagData data, const char *tag_str)
strcat(modify, path);
data->href = modify;
cnp_debug("image href ---%s---\n", data->href);
strcat(modify, path);
data->href = modify;
cnp_debug("image href ---%s---\n", data->href);
+ free(value);
}
else
freeAndAssign(data->href, value);
}
else
freeAndAssign(data->href, value);
- free(value);
}
value = _get_tag_value(tag_str, "absize");
}
value = _get_tag_value(tag_str, "absize");
@@
-906,10
+906,10
@@
_set_HTML_img_data(PItemTagData data, const char *tag_str)
strcat(modify, path);
data->href = modify;
cnp_debug("image src ---%s---\n", data->href);
strcat(modify, path);
data->href = modify;
cnp_debug("image src ---%s---\n", data->href);
+ free(value);
}
else
freeAndAssign(data->href, value);
}
else
freeAndAssign(data->href, value);
- free(value);
}
value = _get_tag_value(tag_str, "width");
}
value = _get_tag_value(tag_str, "width");
@@
-1112,7
+1112,8
@@
_convert_to_edje(Eina_List* nodes)
else if (!strcmp(_HTMLtoEFLConvertTable[j].src, "img"))
{
PItemTagData data = trail->tagData;
else if (!strcmp(_HTMLtoEFLConvertTable[j].src, "img"))
{
PItemTagData data = trail->tagData;
- char *width = IMAGE_DEFAULT_WIDTH, *height = IMAGE_DEFAULT_HEIGHT; if (data->width)
+ char *width = IMAGE_DEFAULT_WIDTH, *height = IMAGE_DEFAULT_HEIGHT;
+ if (data->width)
width = data->width;
if (data->height)
height = data->height;
width = data->width;
if (data->height)
height = data->height;