Browse code

corrected faulty freeing of Subscription-State header content

Vaclav Kubart authored on 21/06/2006 13:42:40
Showing 1 changed files
... ...
@@ -169,7 +169,7 @@ void clean_hdr_field(struct hdr_field* hf)
169 169
 			break;
170 170
 		
171 171
 		case HDR_SUBSCRIPTION_STATE_T:
172
-			free_subscription_state((subscription_state_t**)hf->parsed);
172
+			free_subscription_state((subscription_state_t**)(&hf->parsed));
173 173
 			break;
174 174
 
175 175
 		case HDR_SESSIONEXPIRES_T: