On Mon, 2018-03-12 at 20:28 +0100, Andreas Schmidt wrote: > 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; > }
Thanks, applied! Regards, Jan -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ RAUC mailing list
