projects
/
platform
/
framework
/
web
/
download-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
939c9c7
)
[CID-1025872] Fix resource leak
05/188805/1
accepted/tizen/unified/20180911.055424
submit/tizen/20180910.131901
author
Seonah Moon
<seonah1.moon@samsung.com>
Mon, 10 Sep 2018 11:02:35 +0000
(20:02 +0900)
committer
Seonah Moon
<seonah1.moon@samsung.com>
Mon, 10 Sep 2018 11:02:39 +0000
(20:02 +0900)
Change-Id: I6f95c8d863731b9db1a5c10236eac4c155e2eaff
agent/download-agent-http-mgr.c
patch
|
blob
|
history
diff --git
a/agent/download-agent-http-mgr.c
b/agent/download-agent-http-mgr.c
index
a015c73
..
4a552df
100755
(executable)
--- a/
agent/download-agent-http-mgr.c
+++ b/
agent/download-agent-http-mgr.c
@@
-1201,6
+1201,8
@@
ERR:
http_info->state = HTTP_STATE_FAILED;
DA_MUTEX_UNLOCK(&(http_info->mutex_state));
}
+ if (transfer_encoding)
+ free(transfer_encoding);
free(raw_data);
return ret;
}