diff options
author | Sander Vrijders <[email protected]> | 2016-10-30 14:04:03 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-10-30 14:04:03 +0000 |
commit | 94044e99af295e9440d306719a5cf341645d1803 (patch) | |
tree | 49e677cf3626a58737fd3d2d7ac8b0dd7a74517f /src/tools/irm/irm_ipcp_bootstrap.c | |
parent | 72eb9eed1284643db20c45ef82365fa54fd0ef1c (diff) | |
parent | 05fa4879dd8c70156fd98eabed4634098b0feecb (diff) | |
download | ouroboros-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/irm_ipcp_bootstrap.c')
-rw-r--r-- | src/tools/irm/irm_ipcp_bootstrap.c | 4 |
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); |