mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
typo in zNew = sqliteMallocRaw(n+1); util.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7091 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
fed6dff4b2
commit
46cfce18e8
@ -729,7 +729,7 @@ char *sqlite3StrDup(const char *z){
|
||||
char *sqlite3StrNDup(const char *z, int n){
|
||||
char *zNew;
|
||||
if( z==0 ) return 0;
|
||||
zNew = sqliteMallocRaw(n+1, 1);
|
||||
zNew = sqliteMallocRaw(n+1);
|
||||
if( zNew ){
|
||||
memcpy(zNew, z, n);
|
||||
zNew[n] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user