diff options
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r-- | src/vdbeapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c index 3185191ed..cb631413c 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -514,6 +514,7 @@ void sqlite3_result_text64( (void)invokeValueDestructor(z, xDel, pCtx); }else{ setResultStrOrError(pCtx, z, (int)n, enc, xDel); + sqlite3VdbeMemZeroTerminateIfAble(pCtx->pOut); } } #ifndef SQLITE_OMIT_UTF16 |