13 lines
493 B
Plaintext
13 lines
493 B
Plaintext
$OpenBSD: patch-sip_msg_clone_c,v 1.1 2013/04/16 11:13:04 sthen Exp $
|
|
--- sip_msg_clone.c.orig Sun Mar 31 13:50:02 2013
|
|
+++ sip_msg_clone.c Sun Mar 31 13:50:27 2013
|
|
@@ -193,7 +193,7 @@ static inline struct via_body* via_body_cloner( char*
|
|
|
|
if ( org_via->param_lst )
|
|
{
|
|
- struct via_param *vp, *new_vp, *last_new_vp;
|
|
+ struct via_param *vp, *new_vp = NULL, *last_new_vp;
|
|
for( vp=org_via->param_lst, last_new_vp=0 ; vp ; vp=vp->next )
|
|
{
|
|
new_vp = (struct via_param*)(*p);
|