From: Tomasz Iwanek Date: Mon, 29 Apr 2013 10:31:14 +0000 (+0200) Subject: [Prevent] Fixing issue 52035 X-Git-Tag: submit/tizen_2.2/20130713.111652^2~176 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=080a272c147732f5963c41e7a624b66001f2c0cf;p=platform%2Fframework%2Fweb%2Fwrt-installer.git [Prevent] Fixing issue 52035 [Issue#] LINUXWRT-234 [Problem] N/A [Cause] N/A [Solution] Free allocated buffer. [Verification] Build repo. Change-Id: I01dcd4579e14e32cf80f8daa4b6ad491be77c113 --- diff --git a/src/wrt-installer/wrt-installer.cpp b/src/wrt-installer/wrt-installer.cpp index 58db8f4..7521ce7 100644 --- 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[])