From 8e58ae5b331d002102b2b907a6b8aaf187382594 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20Filipovi=C4=8D?= Date: Mon, 27 Feb 2012 15:06:47 +0000 Subject: [PATCH] authz policy file into context --- org.glite.lb.common/interface/context-int.h | 2 ++ org.glite.lb.common/src/context.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/org.glite.lb.common/interface/context-int.h b/org.glite.lb.common/interface/context-int.h index 2b45c77..caa9602 100644 --- a/org.glite.lb.common/interface/context-int.h +++ b/org.glite.lb.common/interface/context-int.h @@ -185,6 +185,8 @@ glite_lb_padded_struct(_edg_wll_Context,150, char **msg_brokers; int count_server_stats; + + char *authz_policy_file; ) /* to be used internally: set, update and and clear the error information in diff --git a/org.glite.lb.common/src/context.c b/org.glite.lb.common/src/context.c index 44d9c8b..497762b 100644 --- a/org.glite.lb.common/src/context.c +++ b/org.glite.lb.common/src/context.c @@ -210,6 +210,8 @@ void edg_wll_FreeContext(edg_wll_Context ctx) free(ctx->msg_brokers); ctx->msg_brokers = NULL; } + + if (ctx->authz_policy_file) free(authz_policy_file); edg_wll_FreeParams(ctx); -- 1.8.2.3