Browse code

core: don't free pvar spec - is reference to cache

- reported by Peter Dunkley

Daniel-Constantin Mierla authored on 30/05/2013 15:59:01
Showing 1 changed files
... ...
@@ -2696,7 +2696,7 @@ rval: intno			{$$=mk_rve_rval(RV_INT, (void*)$1); }
2696 2696
 	| STRING			{	s_tmp.s=$1; s_tmp.len=strlen($1);
2697 2697
 							$$=mk_rve_rval(RV_STR, &s_tmp); }
2698 2698
 	| attr_id_any		{$$=mk_rve_rval(RV_AVP, $1); pkg_free($1); }
2699
-	| pvar				{$$=mk_rve_rval(RV_PVAR, $1); pkg_free($1); }
2699
+	| pvar				{$$=mk_rve_rval(RV_PVAR, $1); }
2700 2700
 	| avp_pvar			{
2701 2701
 							switch($1->type){
2702 2702
 								case LV_AVP: