aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mm-serial-port.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-serial-port.c b/src/mm-serial-port.c
index 37f1bb09..18b39f72 100644
--- a/src/mm-serial-port.c
+++ b/src/mm-serial-port.c
@@ -1047,6 +1047,7 @@ mm_serial_port_flash (MMSerialPort *self,
g_error_free (error);
return FALSE;
}
+ g_clear_error (&error);
info = g_slice_new0 (FlashInfo);
info->port = self;