ssl_expr.h:

typedef struct {
   ssl_expr_node_op node_op;
   void *node_arg1;
   void *node_arg2;
   apr_pool_t *p;
} ssl_expr_node;

typedef ssl_expr_node ssl_expr;

The pool in ssl_expr_node doesn't seem to be used? Either when the
struct is created(ssl_expr.c):
ssl_expr *ssl_expr_comp(apr_pool_t *p, char *expr)

or when it is evaluated:
int ssl_expr_exec(request_rec *r, ssl_expr *expr)


An extra pointer in the struct is not really a problem as such but I
want to make copy (in my own allocated memory, which is not tied to an
apache pool) and then execute it later using ssl_expr_exec(....) If a
copy of the contents of the pool is also necessary, well then I have
to re-evaluate my approach.

Christiaan

Reply via email to