mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-02 20:16:52 +02:00
Correct memory leaks of error in completion case.
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
This commit is contained in:
parent
43c2d747a3
commit
1c7c849d34
@ -681,8 +681,8 @@ handle_emit (gint *argc,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_printerr (_("Error connecting: %s\n"), error->message);
|
g_printerr (_("Error connecting: %s\n"), error->message);
|
||||||
g_error_free (error);
|
|
||||||
}
|
}
|
||||||
|
g_error_free (error);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -995,8 +995,8 @@ handle_call (gint *argc,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_printerr (_("Error connecting: %s\n"), error->message);
|
g_printerr (_("Error connecting: %s\n"), error->message);
|
||||||
g_error_free (error);
|
|
||||||
}
|
}
|
||||||
|
g_error_free (error);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1825,8 +1825,8 @@ handle_introspect (gint *argc,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_printerr (_("Error connecting: %s\n"), error->message);
|
g_printerr (_("Error connecting: %s\n"), error->message);
|
||||||
g_error_free (error);
|
|
||||||
}
|
}
|
||||||
|
g_error_free (error);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2057,8 +2057,8 @@ handle_monitor (gint *argc,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_printerr (_("Error connecting: %s\n"), error->message);
|
g_printerr (_("Error connecting: %s\n"), error->message);
|
||||||
g_error_free (error);
|
|
||||||
}
|
}
|
||||||
|
g_error_free (error);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2277,8 +2277,8 @@ handle_wait (gint *argc,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_printerr (_("Error connecting: %s\n"), error->message);
|
g_printerr (_("Error connecting: %s\n"), error->message);
|
||||||
g_error_free (error);
|
|
||||||
}
|
}
|
||||||
|
g_error_free (error);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user