diff options
author | Didier Raboud <odyx@debian.org> | 2019-11-20 20:30:03 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2019-11-20 20:30:03 +0100 |
commit | b0aeaea912817dd53fda33331a8f6e562b695a50 (patch) | |
tree | 4c3eca617f759c0bc9698cc35c599ef3113fa706 /sqlite3/jim-sqlite3.c | |
parent | 68b3a623cde64e8dd53f8b1929a7cc9eabf0dadd (diff) | |
parent | 052cee686ea886c16b59dcabb5a04b2e6d390ade (diff) |
Update to upstream 0.79+dfsg0
[git-debrebase anchor: new upstream 0.79+dfsg0, merge]
Diffstat (limited to 'sqlite3/jim-sqlite3.c')
-rw-r--r-- | sqlite3/jim-sqlite3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlite3/jim-sqlite3.c b/sqlite3/jim-sqlite3.c index 7b09a9a..260f1ee 100644 --- a/sqlite3/jim-sqlite3.c +++ b/sqlite3/jim-sqlite3.c @@ -903,7 +903,7 @@ static char *local_getline(char *zPrompt, FILE *in){ while( !eol ){ if( n+100>nLine ){ nLine = nLine*2 + 100; - zLine = realloc(zLine, nLine); + zLine = Jim_Realloc(zLine, nLine); if( zLine==0 ) return 0; } if( fgets(&zLine[n], nLine - n, in)==0 ){ @@ -922,7 +922,7 @@ static char *local_getline(char *zPrompt, FILE *in){ eol = 1; } } - zLine = realloc( zLine, n+1 ); + zLine = Jim_Realloc( zLine, n+1 ); return zLine; } |