diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-10-15 13:30:09 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-10-15 13:30:09 +0000 |
commit | d1623bbd42d3c4057d12dcec6297b63f27d4300e (patch) | |
tree | 2d69bdde5a2c0d2d5d6414d242c57b25102a6701 | |
parent | 051143983f5d6f57bd03bf3d708a540f10ad2aba (diff) |
[Author: kbongort]
Ensure that |returnBuffer| is freed.
R=thomasvl
APPROVED=thomasvl
DELTA=1 (1 added, 0 deleted, 0 changed)
-rw-r--r-- | Foundation/GTMSQLite.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Foundation/GTMSQLite.m b/Foundation/GTMSQLite.m index 0225ff5..4313949 100644 --- a/Foundation/GTMSQLite.m +++ b/Foundation/GTMSQLite.m @@ -761,6 +761,7 @@ static void UpperLower16(sqlite3_context *context, convertedBytesForSQLite, &free); break; default: + free(returnBuffer); // COV_NF_START no way to tell sqlite to not use utf8 or utf16? sqlite3_result_error(context, "LOWER/UPPER CF implementation " \ |