summaryrefslogtreecommitdiffstats
path: root/ext/recover/sqlite3recover.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ext/recover/sqlite3recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/recover/sqlite3recover.c b/ext/recover/sqlite3recover.c
index 1d858c0..afa1ae8 100644
--- a/ext/recover/sqlite3recover.c
+++ b/ext/recover/sqlite3recover.c
@@ -363,8 +363,8 @@ static int recoverError(
va_start(ap, zFmt);
if( zFmt ){
z = sqlite3_vmprintf(zFmt, ap);
- va_end(ap);
}
+ va_end(ap);
sqlite3_free(p->zErrMsg);
p->zErrMsg = z;
p->errCode = errCode;