summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-12-24 16:30:42 +0000
committerSascha Schumann <sas@php.net>2000-12-24 16:30:42 +0000
commit3ca8721e9961f6f84de1daee9ea6d37e288fa3ce (patch)
treeeca5628b85bc59b5303acda602401a24ffa88704
parent7574cd4360e5157a2a304b851113825c893d843e (diff)
downloadphp-git-3ca8721e9961f6f84de1daee9ea6d37e288fa3ce.tar.gz
More instances of s/efree/FREE_ZVAL/
-rw-r--r--ext/session/mod_user.c4
-rw-r--r--ext/session/session.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c
index 791062a27c..caa5773abd 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 1f352ab834..5af87a142f 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;
}