diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-08-18 04:41:48 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-08-18 04:41:48 +0000 |
commit | 741014089e3f834fdaeb99f7b568d48f3674518a (patch) | |
tree | bb4c53c62b8cb5ceb73821761d96d2d116315860 /ext/odbc/birdstep.c | |
parent | 4863dd532380f08002e1d3e2c1809031580cefcc (diff) | |
download | php-git-741014089e3f834fdaeb99f7b568d48f3674518a.tar.gz |
emalloc -> safe_emalloc
Diffstat (limited to 'ext/odbc/birdstep.c')
-rw-r--r-- | ext/odbc/birdstep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/birdstep.c b/ext/odbc/birdstep.c index 8f764d8e06..db274d92c5 100644 --- a/ext/odbc/birdstep.c +++ b/ext/odbc/birdstep.c @@ -345,7 +345,7 @@ PHP_FUNCTION(birdstep_exec) efree(res); RETURN_LONG(rows); } else { /* Was SELECT query */ - res->values = (VResVal *)emalloc(sizeof(VResVal)*cols); + res->values = (VResVal *)safe_emalloc(sizeof(VResVal), cols, 0); res->numcols = cols; for ( i = 0; i < cols; i++ ) { SQLColAttributes(res->hstmt,i+1,SQL_COLUMN_NAME, |