[Libvirt-cim] [PATCH 2 of 2] Add missing error path

Dan Smith danms at us.ibm.com
Fri Feb 29 19:28:30 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1204313296 28800
# Node ID 282e58e792ba318b63329420d3918b02e9af7dd5
# Parent  7ac86cfb8d9344f583998d028ac235dcdeba657b
Add missing error path

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r 7ac86cfb8d93 -r 282e58e792ba std_indication.c
--- a/std_indication.c	Fri Feb 29 11:27:21 2008 -0800
+++ b/std_indication.c	Fri Feb 29 11:28:16 2008 -0800
@@ -133,6 +133,7 @@ static CMPIStatus raise(struct std_indic
                 cu_statusf(ctx->brkr, &s,
                            CMPI_RC_ERR_FAILED,
                            "Couldn't get indication name for enable check.");
+                goto out;
         }
 
         enabled = is_ind_enabled(ctx, ind_name, &s);




More information about the Libvirt-cim mailing list