projects
/
platform
/
framework
/
web
/
wrt-installer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b7244
)
[Prevent] Fixing issue 52035
author
Tomasz Iwanek
<t.iwanek@samsung.com>
Mon, 29 Apr 2013 10:31:14 +0000
(12:31 +0200)
committer
Gerrit Code Review
<gerrit2@kim11>
Tue, 30 Apr 2013 06:29:09 +0000
(15:29 +0900)
[Issue#] LINUXWRT-234
[Problem] N/A
[Cause] N/A
[Solution] Free allocated buffer.
[Verification] Build repo.
Change-Id: I01dcd4579e14e32cf80f8daa4b6ad491be77c113
src/wrt-installer/wrt-installer.cpp
patch
|
blob
|
history
diff --git
a/src/wrt-installer/wrt-installer.cpp
b/src/wrt-installer/wrt-installer.cpp
index
58db8f4
..
7521ce7
100644
(file)
--- a/
src/wrt-installer/wrt-installer.cpp
+++ b/
src/wrt-installer/wrt-installer.cpp
@@
-1010,7
+1010,8
@@
CSCConfiguration::dataMap WrtInstaller::parseCSCConfiguration(
CSCConfiguration::dataPair(string.substr(0, pos),
string.substr(pos+1)));
}
- return result;
+ free(buf);
+ return result;
}
int main(int argc, char *argv[])