From 3ca8721e9961f6f84de1daee9ea6d37e288fa3ce Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 24 Dec 2000 16:30:42 +0000 Subject: [PATCH] More instances of s/efree/FREE_ZVAL/ --- ext/session/mod_user.c | 4 ++-- ext/session/session.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c index 791062a27cf..caa5773abde 100644 --- a/ext/session/mod_user.c +++ b/ext/session/mod_user.c @@ -85,7 +85,7 @@ static zval *ps_call_handler(zval *func, int argc, zval **argv) convert_to_long(retval); \ ret = retval->value.lval; \ zval_dtor(retval); \ - efree(retval); \ + FREE_ZVAL(retval); \ } \ return ret @@ -134,7 +134,7 @@ PS_READ_FUNC(user) ret = SUCCESS; } zval_dtor(retval); - efree(retval); + FREE_ZVAL(retval); } return ret; diff --git a/ext/session/session.c b/ext/session/session.c index 1f352ab8343..5af87a142f4 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -478,7 +478,7 @@ PS_SERIALIZER_DECODE_FUNC(wddx) } zval_dtor(retval); - efree(retval); + FREE_ZVAL(retval); return ret; }