aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/dfvm.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-11-25 13:20:36 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-11-25 13:20:36 +0000
commit4f84e65c501d246b6f73809085327dc697746238 (patch)
tree90ede99a7f1ad51c7a59e34c6ae6672bb4c33130 /epan/dfilter/dfvm.c
parent0bf28e51afb4c44fb43c29b03e7a2284629f6a6f (diff)
fvalue_free() is one of the most called functions.
This function is also very small, so small that teh overhead for the actual function call and return is likely to be a significant part of its execution time. change it into a macro and make it thus slightly faster by eliminating the function call overhead. svn path=/trunk/; revision=9083
Diffstat (limited to 'epan/dfilter/dfvm.c')
-rw-r--r--epan/dfilter/dfvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dfilter/dfvm.c b/epan/dfilter/dfvm.c
index 85753468f1..dc8910878a 100644
--- a/epan/dfilter/dfvm.c
+++ b/epan/dfilter/dfvm.c
@@ -1,5 +1,5 @@
/*
- * $Id: dfvm.c,v 1.10 2003/08/27 15:23:03 gram Exp $
+ * $Id: dfvm.c,v 1.11 2003/11/25 13:20:35 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -45,7 +45,7 @@ dfvm_value_free(dfvm_value_t *v)
{
switch (v->type) {
case FVALUE:
- fvalue_free(v->value.fvalue);
+ FVALUE_FREE(v->value.fvalue);
break;
case DRANGE:
drange_free(v->value.drange);