[gnome-color-manager] trivial: another bug spotted by clang... what a great little tool



commit e2ac827e3a0abcebaa5f6800323508f456bdbe48
Author: Richard Hughes <richard hughsie com>
Date:   Mon Dec 21 18:27:08 2009 +0000

    trivial: another bug spotted by clang... what a great little tool

 src/gcm-calibrate-argyll.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index b6f33b9..1c5a4de 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -944,6 +944,7 @@ gcm_calibrate_argyll_finish (GcmCalibrateArgyll *calibrate_argyll, GError **erro
 		ret = FALSE;
 		if (error != NULL)
 			*error = g_error_new (1, 0, "could not find completed profile");
+		goto out;
 	}
 
 	/* success */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]