While calling `rauc status mark-xxx <invalid slot>` rauc crashs,
because of double freeing of GError struct. This patch fix this.

Signed-off-by: Andreas Schmidt <[email protected]>
---
 src/mark.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mark.c b/src/mark.c
index 5418cfe..efbe233 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -127,7 +127,6 @@ gboolean mark_run(const gchar *state,
        if (ierror) {
                res = FALSE;
                *message = g_strdup(ierror->message);
-               g_error_free(ierror);
                goto out;
        }
 
-- 
2.14.1


_______________________________________________
RAUC mailing list

Reply via email to