projects
/
platform
/
core
/
uifw
/
libds-tizen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ime: free allocated variables before return statement
[platform/core/uifw/libds-tizen.git]
/
src
/
text_input
/
text_input.c
diff --git
a/src/text_input/text_input.c
b/src/text_input/text_input.c
index
05adda7
..
d25b1a4
100644
(file)
--- a/
src/text_input/text_input.c
+++ b/
src/text_input/text_input.c
@@
-448,6
+448,7
@@
text_input_manager_handle_create_text_input(struct wl_client *wl_client,
if (text_input->resource == NULL) {
ds_err("text_input. wl_resource_create() failed.");
wl_client_post_no_memory(wl_client);
+ free(text_input);
return;
}
wl_resource_set_implementation(text_input->resource, &text_input_impl,