From d1623bbd42d3c4057d12dcec6297b63f27d4300e Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Mon, 15 Oct 2012 13:30:09 +0000 Subject: [Author: kbongort] Ensure that |returnBuffer| is freed. R=thomasvl APPROVED=thomasvl DELTA=1 (1 added, 0 deleted, 0 changed) --- Foundation/GTMSQLite.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Foundation') 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 " \ -- cgit v1.2.3