mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
vc6 fix
This commit is contained in:
parent
830affeffa
commit
d035f6cdbe
1 changed files with 1 additions and 1 deletions
2
dbdimp.c
2
dbdimp.c
|
@ -2121,12 +2121,12 @@ static int perl_tokenizer_Create(
|
||||||
dSP;
|
dSP;
|
||||||
int n_retval;
|
int n_retval;
|
||||||
SV *retval;
|
SV *retval;
|
||||||
|
perl_tokenizer *t;
|
||||||
|
|
||||||
if (!argc) {
|
if (!argc) {
|
||||||
return SQLITE_ERROR;
|
return SQLITE_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
perl_tokenizer *t;
|
|
||||||
t = (perl_tokenizer *) sqlite3_malloc(sizeof(*t));
|
t = (perl_tokenizer *) sqlite3_malloc(sizeof(*t));
|
||||||
if( t==NULL ) return SQLITE_NOMEM;
|
if( t==NULL ) return SQLITE_NOMEM;
|
||||||
memset(t, 0, sizeof(*t));
|
memset(t, 0, sizeof(*t));
|
||||||
|
|
Loading…
Add table
Reference in a new issue