summaryrefslogtreecommitdiff
path: root/ext/odbc/birdstep.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-08-18 04:41:48 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-08-18 04:41:48 +0000
commit741014089e3f834fdaeb99f7b568d48f3674518a (patch)
treebb4c53c62b8cb5ceb73821761d96d2d116315860 /ext/odbc/birdstep.c
parent4863dd532380f08002e1d3e2c1809031580cefcc (diff)
downloadphp-git-741014089e3f834fdaeb99f7b568d48f3674518a.tar.gz
emalloc -> safe_emalloc
Diffstat (limited to 'ext/odbc/birdstep.c')
-rw-r--r--ext/odbc/birdstep.c2
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,