changeset 275:0941db40bcba

Fix missing initialization for accounting
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 23 Apr 2010 14:10:14 +0900
parents bce8e5b7bf78
children 17739001c00e
files extensions/app_radgw/rgwx_acct.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/app_radgw/rgwx_acct.c	Wed Apr 21 14:23:04 2010 +0900
+++ b/extensions/app_radgw/rgwx_acct.c	Fri Apr 23 14:10:14 2010 +0900
@@ -170,6 +170,7 @@
 	CHECK_MALLOC( new = malloc(sizeof(struct rgwp_config)) );
 	memset(new, 0, sizeof(struct rgwp_config));
 	
+	CHECK_FCT( fd_sess_handler_create( &new->sess_hdl, free ) );
 	new->confstr = conffile;
 	
 	/* Resolve all dictionary objects we use */
"Welcome to our mercurial repository"