This is exactly the same fix as I found in the checkpoint service and
Steve fixed. When dispatch_avail == -1, we must call
saHandleInstancePut.

Index: lib/msg.c
===================================================================
--- lib/msg.c   (revision 1786)
+++ lib/msg.c   (working copy)
@@ -275,11 +275,9 @@
                        } else {
                                error = SA_AIS_ERR_LIBRARY;
                        }
-                       goto error_exit;
+                       goto error_put;
                }
 
-               /* memset (&dispatch_data, 0, sizeof (struct message_overlay)); 
*/
-
                memcpy (&callbacks, &msgInstance->callbacks,
                        sizeof (msgInstance->callbacks));
 
_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to