diff options
author | dan <Dan Kennedy> | 2021-03-16 18:24:49 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2021-03-16 18:24:49 +0000 |
commit | 1fffa73ea2f06bf4c748f9d7ee6dda40e2ac6e7f (patch) | |
tree | cefcd61be0402fa938429a82b560e17b684b3a65 /src | |
parent | 2ad080aa8254d2558b9d3225160af86ded30c43d (diff) | |
download | sqlite-1fffa73ea2f06bf4c748f9d7ee6dda40e2ac6e7f.tar.gz sqlite-1fffa73ea2f06bf4c748f9d7ee6dda40e2ac6e7f.zip |
Add tests for sqlite_rename_quotefix(). Fix a memory leak in the same.
FossilOrigin-Name: 531550056c38589c99c9a97b6afdbf8f34ff8d2131d74e9d42af3506e8045064
Diffstat (limited to 'src')
-rw-r--r-- | src/alter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/alter.c b/src/alter.c index 016d019d3..6a0818f65 100644 --- a/src/alter.c +++ b/src/alter.c @@ -1849,6 +1849,7 @@ static void renameQuotefixFunc( if( rc==SQLITE_OK ){ rc = renameEditSql(context, &sCtx, zInput, 0, 0); } + renameTokenFree(db, sCtx.pList); } if( rc!=SQLITE_OK ){ sqlite3_result_error_code(context, rc); |