aboutsummaryrefslogtreecommitdiffstats
path: root/sgsnemu/sgsnemu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sgsnemu/sgsnemu.c')
-rw-r--r--sgsnemu/sgsnemu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index 0b0fba6..c31f875 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -1459,9 +1459,9 @@ static int create_pdp_conf(struct pdp_t *pdp, void *cbp, int cause)
"router advertisements; SLAAC will not suceed, please "
"fix your setup!\n");
}
- free(accept_ra);
- free(forwarding);
}
+ free(accept_ra);
+ free(forwarding);
}
ipset((struct iphash_t *)pdp->peer, &addr);