summaryrefslogtreecommitdiff
path: root/src/tools/irm
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-30 14:04:03 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-30 14:04:03 +0000
commit94044e99af295e9440d306719a5cf341645d1803 (patch)
tree49e677cf3626a58737fd3d2d7ac8b0dd7a74517f /src/tools/irm
parent72eb9eed1284643db20c45ef82365fa54fd0ef1c (diff)
parent05fa4879dd8c70156fd98eabed4634098b0feecb (diff)
downloadouroboros-94044e99af295e9440d306719a5cf341645d1803.tar.gz
ouroboros-94044e99af295e9440d306719a5cf341645d1803.zip
Merged in dstaesse/ouroboros/be-dealloc (pull request #293)
operf tool, bugfixing and small improvements
Diffstat (limited to 'src/tools/irm')
-rw-r--r--src/tools/irm/irm_ipcp_bootstrap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/irm/irm_ipcp_bootstrap.c b/src/tools/irm/irm_ipcp_bootstrap.c
index 7d72eb15..98efe16d 100644
--- a/src/tools/irm/irm_ipcp_bootstrap.c
+++ b/src/tools/irm/irm_ipcp_bootstrap.c
@@ -196,8 +196,10 @@ int do_bootstrap_ipcp(int argc, char ** argv)
}
for (i = 0; i < len; i++)
- if (irm_bootstrap_ipcp(apis[i], &conf))
+ if (irm_bootstrap_ipcp(apis[i], &conf)) {
+ free(apis);
return -1;
+ }
if (apis != NULL)
free(apis);