diff options
author | Bang Kwang min <justine.bang@samsung.com> | 2012-08-28 15:17:36 +0900 |
---|---|---|
committer | Bang Kwang min <justine.bang@samsung.com> | 2012-08-30 15:10:19 +0900 |
commit | 9ce7a0a7272c23312091a74775fe9847837305a8 (patch) | |
tree | f6069084579e6b31b93381ca7f05aa2746e68cac | |
parent | cfbc61f9f41a1ad91e56295a1617460eb2c41eed (diff) | |
download | download-provider-9ce7a0a7272c23312091a74775fe9847837305a8.tar.gz download-provider-9ce7a0a7272c23312091a74775fe9847837305a8.tar.bz2 download-provider-9ce7a0a7272c23312091a74775fe9847837305a8.zip |
fix the memory leak
[Title] fix the memory leak
[Issue#] N/A
[Problem] it need to free after clear the structure
[Cause] N/A
[Solution] add free call
[SCMRequest] N/A
modified: src/download-provider-receiver.c
Change-Id: I20d5cdf4cdfd01eabf278873da9fcdfa399076cc
-rw-r--r-- | src/download-provider-receiver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/download-provider-receiver.c b/src/download-provider-receiver.c index 3f8005d..c331bc8 100644 --- a/src/download-provider-receiver.c +++ b/src/download-provider-receiver.c @@ -304,6 +304,7 @@ int _handle_new_connection(download_clientinfo_slot *clientinfo_list, download_c } } download_provider_db_info_free(dbinfo); + free(dbinfo); } ipc_send_stateinfo(request_clientinfo); // estabilish the spec of return value. |