diff options
author | Marcus Boerger <helly@php.net> | 2002-11-04 13:39:17 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-11-04 13:39:17 +0000 |
commit | 02c903b25e2b4e9a0a1c54a2cbdb0ea020d1ea2f (patch) | |
tree | 5c2a4f718714be56bb2baad65c4b2b57dd8803f6 /ext/dba/dba_db3.c | |
parent | 3f7081c4390e4d62507c7a2e962f11efb1dfe257 (diff) | |
download | php-git-02c903b25e2b4e9a0a1c54a2cbdb0ea020d1ea2f.tar.gz |
use ecmalloc/efree functions instead of (c|m)alloc/free
Diffstat (limited to 'ext/dba/dba_db3.c')
-rw-r--r-- | ext/dba/dba_db3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dba/dba_db3.c b/ext/dba/dba_db3.c index e31fb39a0f..edade52042 100644 --- a/ext/dba/dba_db3.c +++ b/ext/dba/dba_db3.c @@ -77,7 +77,7 @@ DBA_OPEN_FUNC(db3) dbp->open(dbp, info->path, NULL, type, gmode, filemode) == 0) { dba_db3_data *data; - data = malloc(sizeof(*data)); + data = emalloc(sizeof(*data)); data->dbp = dbp; data->cursor = NULL; info->dbf = data; @@ -96,7 +96,7 @@ DBA_CLOSE_FUNC(db3) if (dba->cursor) dba->cursor->c_close(dba->cursor); dba->dbp->close(dba->dbp, 0); - free(dba); + efree(dba); } DBA_FETCH_FUNC(db3) |