Module: xenomai-forge
Branch: next
Commit: 8f70e7783b8da52f97434e8dd1f99d322e192cdd
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=8f70e7783b8da52f97434e8dd1f99d322e192cdd

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Sep 21 21:28:51 2014 +0200

cobalt/posix/cond: fix error path in failed init

---

 kernel/cobalt/posix/cond.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/posix/cond.c b/kernel/cobalt/posix/cond.c
index fb5a028..3c47608 100644
--- a/kernel/cobalt/posix/cond.c
+++ b/kernel/cobalt/posix/cond.c
@@ -121,7 +121,7 @@ do_init:
        return 0;
 fail_register:
        xnlock_put_irqrestore(&nklock, s);
-       cobalt_umm_free(&cobalt_ppd_get(cond->attr.pshared)->umm, state);
+       cobalt_umm_free(&sys_ppd->umm, state);
 fail_umm:
        xnfree(cond);
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to