Skip to content

Commit

Permalink
[ReviewFix] Remove bogous g_error_free() cal
Browse files Browse the repository at this point in the history
  • Loading branch information
xkr47 committed Dec 5, 2019
1 parent 667503e commit 03253e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/icon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 03253e8

Please sign in to comment.