projects
/
platform
/
core
/
appfw
/
shortcut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8d0068
)
Fix memory leak
author
hyun lee
<hyunn.lee@samsung.com>
Fri, 22 Aug 2014 05:46:52 +0000
(14:46 +0900)
committer
Sangyoon Jang
<s89.jang@samsung.com>
Mon, 25 Aug 2014 08:49:59 +0000
(17:49 +0900)
Change-Id: I85e2350afef384a34e37298f5ca2fd11c634bf67
Signed-off-by: hyun lee <hyunn.lee@samsung.com>
lib/src/icon.c
patch
|
blob
|
history
diff --git
a/lib/src/icon.c
b/lib/src/icon.c
index
4d5eb34
..
1825df5
100755
(executable)
--- a/
lib/src/icon.c
+++ b/
lib/src/icon.c
@@
-304,6
+304,7
@@
static inline int update_block(struct block *block, const char *data, const char
_option = strdup(option);
if (!_option) {
ErrPrint("Heap: %s\n", strerror(errno));
+ free(_data);
return SHORTCUT_ERROR_OUT_OF_MEMORY;
}
}