[tracker/wip/carlosg/coverity-warnings: 10/27] portal: Fix double error free
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/coverity-warnings: 10/27] portal: Fix double error free
- Date: Fri, 26 Mar 2021 11:22:23 +0000 (UTC)
commit ee6127fd235218a9fdad2d6123c15809ca4d56fc
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Mar 20 10:37:30 2021 +0100
portal: Fix double error free
This variable is already g_autoptr, no need to free it in the
error paths.
CID: #1501111
src/portal/tracker-main.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/portal/tracker-main.c b/src/portal/tracker-main.c
index 8c0429c76..182d3e509 100644
--- a/src/portal/tracker-main.c
+++ b/src/portal/tracker-main.c
@@ -107,7 +107,6 @@ main (int argc, char *argv[])
if (!g_option_context_parse (context, &argc, (char***) &argv, &error)) {
g_printerr ("%s, %s\n", _("Unrecognized options"), error->message);
- g_error_free (error);
return EXIT_FAILURE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]