From 03253e82f7fce95c3e330fcc6e8bda03c6d7a316 Mon Sep 17 00:00:00 2001 From: Jonas Berlin Date: Thu, 5 Dec 2019 20:12:07 +0200 Subject: [PATCH] [ReviewFix] Remove bogous g_error_free() cal --- src/icon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/icon.c b/src/icon.c index 6359933..7529944 100644 --- a/src/icon.c +++ b/src/icon.c @@ -177,7 +177,6 @@ GdkPixbuf *get_pixbuf_from_file(const char *filename) if (!gdk_pixbuf_get_file_info (path, &w, &h)) { LOG_W("Failed to load image info for %s", filename); g_free(path); - g_error_free(error); return NULL; } icon_size_clamp(&w, &h);