Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx> --- exec/totemudp.c | 1 + exec/totemudpu.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/exec/totemudp.c b/exec/totemudp.c index a5169c2..4577107 100644 --- a/exec/totemudp.c +++ b/exec/totemudp.c @@ -1154,6 +1154,7 @@ int totemudp_initialize ( instance->totemudp_log_level_error, instance->totemudp_subsys_id); if (instance->crypto_inst == NULL) { + free(instance); return (-1); } /* diff --git a/exec/totemudpu.c b/exec/totemudpu.c index 694ae30..f984920 100644 --- a/exec/totemudpu.c +++ b/exec/totemudpu.c @@ -785,6 +785,7 @@ int totemudpu_initialize ( instance->totemudpu_log_level_error, instance->totemudpu_subsys_id); if (instance->crypto_inst == NULL) { + free(instance); return (-1); } /* -- 1.7.1 _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss